@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #072A52;
  --navy-2: #0A3D7A;
  --blue: #0057B8;
  --sky: #3FC6F7;
  --cyan: #00D4E8;
  --ink: #0E1B2B;
  --slate: #4B5C71;
  --line: #E3EAF2;
  --grey: #F4F8FB;
  --white: #FFFFFF;
  --grad-brand: linear-gradient(120deg, var(--navy) 0%, var(--blue) 55%, var(--sky) 100%);
  --grad-accent: linear-gradient(120deg, var(--sky), var(--cyan));
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22,.85,.32,1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 26px;
}

section {
  position: relative;
}

/* ---------- Text Utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,87,184,0.08);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-accent);
}
.eyebrow.on-dark {
  color: var(--sky);
  background: rgba(63,198,247,0.14);
}
.eyebrow.on-dark::before {
  background: var(--cyan);
}

h2.htitle {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
}
h2.htitle span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--slate);
  font-size: 1.06rem;
  max-width: 600px;
  margin-top: 16px;
}
.head {
  margin-bottom: 52px;
}
.head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

.pad { padding: 100px 0; }
.pad-sm { padding: 60px 0; }
.bg-grey { background: var(--grey); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,0.85); }
.bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5 { color: var(--white); }
.bg-navy .lede { color: rgba(255,255,255,0.66); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 14px 30px -14px rgba(7,42,82,0.5);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px rgba(7,42,82,0.6);
  color: #fff !important;
}
.btn-cyan {
  background: var(--grad-accent);
  color: var(--navy) !important;
  box-shadow: 0 14px 30px -14px rgba(0,212,232,0.55);
}
.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(0,212,232,0.75);
  color: var(--navy) !important;
}
.btn-outline {
  background: transparent;
  border-color: rgba(7,42,82,0.2);
  color: var(--navy) !important;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
  transform: translateY(-3px);
}
.btn-outline.on-dark {
  border-color: rgba(255,255,255,0.35);
  color: #fff !important;
}
.btn-outline.on-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Floating Capsule Navigation ---------- */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(7, 42, 82, 0.1);
  border-radius: 100px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 18px 40px -20px rgba(7, 42, 82, 0.35);
  max-width: 100%;
}
.capsule .brand {
  display: flex;
  align-items: center;
  padding: 0 10px 0 0;
  text-decoration: none;
}
.capsule .brand img {
  height: 32px;
  max-height: 32px;
  width: auto;
  object-fit: contain;
}
.capsule ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.capsule a.clink {
  display: block;
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--navy);
  white-space: nowrap;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.capsule a.clink:hover {
  background: rgba(0,87,184,0.08);
  color: var(--blue);
}
.capsule a.clink.active {
  background: var(--navy);
  color: #fff !important;
}
.capsule .cta {
  margin-left: 6px;
  display: flex;
  align-items: center;
}
.capsule .cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--grad-accent);
  color: var(--navy) !important;
  padding: 9px 18px;
  border-radius: 100px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 8px 18px -6px rgba(0,212,232,0.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.capsule .cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(0,212,232,0.7);
  color: var(--navy) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  margin-left: 4px;
  cursor: pointer;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

@media (max-width: 1080px) {
  .capsule ul {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    box-shadow: 0 20px 50px -20px rgba(7,42,82,0.4);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s var(--ease);
    max-height: 70vh;
    overflow-y: auto;
  }
  .capsule ul.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .capsule a.clink {
    padding: 12px 16px;
  }
  .capsule .cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- Page Hero (Mesh Banner) ---------- */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 140px 0 64px;
}
.page-hero .mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 42% at 14% 18%, rgba(63,198,247,0.32), transparent 60%),
    radial-gradient(38% 46% at 88% 12%, rgba(0,212,232,0.28), transparent 60%),
    radial-gradient(60% 60% at 75% 90%, rgba(0,87,184,0.5), transparent 65%),
    var(--grad-brand);
  animation: meshdrift 16s ease-in-out infinite alternate;
}
@keyframes meshdrift {
  0% { background-position: 0% 0%, 100% 0%, 100% 100%; }
  100% { background-position: 8% 8%, 92% 10%, 92% 92%; }
}
.page-hero .grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.45;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  font-family: var(--font-head);
}
.crumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.crumb a:hover {
  color: var(--cyan);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 800px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-hero h1 .hl {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.06rem;
  line-height: 1.65;
}

/* ---------- Hero Full (Home Only) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 110px;
}
.hero .mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 42% at 14% 18%, rgba(63,198,247,0.35), transparent 60%),
    radial-gradient(38% 46% at 88% 12%, rgba(0,212,232,0.30), transparent 60%),
    radial-gradient(60% 60% at 75% 90%, rgba(0,87,184,0.55), transparent 65%),
    var(--grad-brand);
  animation: meshdrift 16s ease-in-out infinite alternate;
}
.hero .grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--sky);
  font-size: 1rem;
  margin-bottom: 22px;
}
.hero-tag::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--cyan);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 920px;
}
.hero h1 .hl {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.12rem;
  max-width: 580px;
  margin-top: 26px;
}
.hero .actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero .scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue .dot {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255,255,255,0.7), transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: .2; }
  50% { opacity: 1; }
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-wrap.dark {
  background: var(--navy);
  border-color: rgba(255,255,255,0.1);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 0 28px;
  white-space: nowrap;
}
.marquee-wrap.dark .marquee-track span {
  color: rgba(255,255,255,0.85);
}
.marquee-track span::after {
  content: '✦';
  margin-left: 28px;
  color: var(--cyan);
  font-size: 0.8rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Trust Stats Strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  z-index: 5;
  box-shadow: 0 30px 60px -30px rgba(7,42,82,0.35);
}
.stat-strip.pull-up {
  margin-top: -64px;
}
.stat-strip .cell {
  background: #fff;
  padding: 36px 22px;
  text-align: center;
}
.stat-strip .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--navy);
}
.stat-strip .num em {
  font-style: normal;
  color: var(--blue);
}
.stat-strip .lbl {
  color: var(--slate);
  font-size: 0.86rem;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat-strip.on-dark {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.14);
}
.stat-strip.on-dark .cell {
  background: rgba(255,255,255,0.04);
}
.stat-strip.on-dark .num {
  color: #fff;
}
.stat-strip.on-dark .num em {
  color: var(--sky);
}
.stat-strip.on-dark .lbl {
  color: rgba(255,255,255,0.65);
}

/* ---------- About Split Layout ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-grid.rev > *:first-child { order: 2; }
.about-grid.rev > *:last-child { order: 1; }
@media (max-width: 900px) {
  .about-grid.rev > *:first-child { order: 1; }
  .about-grid.rev > *:last-child { order: 2; }
}
.blob-frame {
  position: relative;
}
.blob-frame svg {
  width: 100%;
  height: auto;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.badge-row .b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--grey);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 100px;
}
.badge-row .b svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}
.badge-row.on-dark .b {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--sky);
}

/* ---------- Bento Services Grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento .cell {
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bento .cell:hover {
  transform: translateY(-6px);
}
.bento .cell a.stretch {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.bento .big {
  grid-column: span 3;
  min-height: 290px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento .big.alt {
  background: var(--grad-accent);
  color: var(--navy);
}
.bento .small {
  grid-column: span 2;
  min-height: 230px;
  background: var(--grey);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento .cell::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
}
.bento .small::after {
  background: radial-gradient(circle, rgba(0,87,184,0.08), transparent 70%);
}
.bento .tagnum {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-bottom: 14px;
}
.bento h3 {
  font-size: 1.3rem;
  color: inherit;
  margin-bottom: 10px;
}
.bento .small h3 {
  color: var(--navy);
  font-size: 1.08rem;
}
.bento p {
  font-size: 0.94rem;
  opacity: 0.85;
  max-width: 420px;
}
.bento .small p {
  color: var(--slate);
  opacity: 1;
}
.bento .arrow-go {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s;
}
.bento .cell:hover .arrow-go {
  background: rgba(255,255,255,0.15);
  transform: rotate(45deg);
}
.bento .small .arrow-go {
  border-color: rgba(7,42,82,0.15);
}
.bento .arrow-go svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .big, .bento .small { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .big, .bento .small { grid-column: span 1; }
}

/* ---------- Generic Card Grid & Soft Cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.soft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.soft-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px -26px rgba(7,42,82,0.3);
  border-color: rgba(0,87,184,0.22);
}
.soft-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,87,184,0.1), rgba(0,212,232,0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.soft-card .icon svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}
.soft-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.soft-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tick-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--slate);
}
.tick-list li svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex: none;
  margin-top: 3px;
}
.tick-list.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
@media (max-width: 560px) {
  .tick-list.two { grid-template-columns: 1fr; }
}

/* ---------- Sectors Marquee Pills ---------- */
.sector-pill-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.sector-pill {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
}
.sector-pill svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

/* ---------- Zigzag (Why Us) ---------- */
.zig {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.zig-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.zig-item:last-child {
  border-bottom: none;
}
.zig-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.2rem;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(0,87,184,0.35);
  line-height: 1;
  transition: color .3s, -webkit-text-stroke .3s;
}
.zig-item:hover .zig-num {
  -webkit-text-stroke: 1.4px var(--blue);
}
.zig-item h4 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.zig-item p {
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 600px;
  line-height: 1.6;
}
.zig.on-dark .zig-item {
  border-color: rgba(255,255,255,0.12);
}
.zig.on-dark .zig-num {
  -webkit-text-stroke: 1.4px rgba(63,198,247,0.35);
}
.zig.on-dark .zig-item:hover .zig-num {
  -webkit-text-stroke: 1.4px var(--sky);
}
.zig.on-dark h4 {
  color: #fff;
}
.zig.on-dark p {
  color: rgba(255,255,255,0.65);
}

/* ---------- Process Rail ---------- */
.rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 2px 30px;
  scroll-snap-type: x mandatory;
}
.rail::-webkit-scrollbar {
  height: 6px;
}
.rail::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}
.rail .stop {
  flex: none;
  width: 270px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 26px;
}
.rail .stop .sn {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.rail .stop h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 10px 0 8px;
}
.rail .stop p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.rail.on-light .stop {
  background: #fff;
  border-color: var(--line);
}
.rail.on-light .stop h4 {
  color: var(--navy);
}
.rail.on-light .stop p {
  color: var(--slate);
}

/* ---------- Testimonial Slider ---------- */
.slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  min-height: 220px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.slide .qm {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--sky);
  line-height: 1;
}
.slide p {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 500;
  max-width: 640px;
  margin: 10px auto 0;
}
.slide .who {
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
}
.slide .who span {
  display: block;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--slate);
  font-size: 0.85rem;
}
.dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 30px;
}
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.dots button.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ---------- CTA Blob ---------- */
.cta-blob {
  background: var(--grad-brand);
  border-radius: 32px;
  padding: 64px 54px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-blob::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% 0%, rgba(0,212,232,0.35), transparent 70%);
}
.cta-blob > * {
  position: relative;
  z-index: 1;
}
.cta-blob h2 {
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.cta-blob p {
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}
.cta-blob .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: #FFFFFF !important;
  padding: 70px 0 26px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}
.foot-brand img {
  height: 38px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  display: inline-block;
}
.foot-desc {
  font-size: 0.92rem;
  max-width: 300px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85) !important;
}
.foot-tag {
  color: #38BDF8 !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 16px;
}
footer h5 {
  font-family: var(--font-head);
  color: #38BDF8 !important;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
footer p {
  color: rgba(255,255,255,0.85) !important;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 11px;
  font-size: 0.92rem;
}
footer ul li a {
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
footer ul li a:hover {
  color: #38BDF8 !important;
  transform: translateX(3px);
}
footer a[href^="tel:"],
footer a[href^="mailto:"] {
  color: #38BDF8 !important;
  font-weight: 600;
  text-decoration: none;
}
footer a[href^="tel:"]:hover,
footer a[href^="mailto:"]:hover {
  color: #FFFFFF !important;
  text-decoration: underline;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75) !important;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-bottom span {
  color: rgba(255,255,255,0.75) !important;
}
.foot-social {
  display: flex;
  gap: 10px;
}
.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
  text-decoration: none;
}
.foot-social a:hover {
  background: var(--blue);
}
.foot-social svg {
  width: 15px;
  height: 15px;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #1EBE57;
  color: #fff !important;
  padding: 14px 20px;
  border-radius: 100px;
  box-shadow: 0 16px 32px -12px rgba(30,190,87,0.55);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-head);
  text-decoration: none;
  animation: pulse-wa 2.6s ease-in-out infinite;
}
.wa-float svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@keyframes pulse-wa {
  0%, 100% {
    box-shadow: 0 16px 32px -12px rgba(30,190,87,0.55);
  }
  50% {
    box-shadow: 0 16px 32px -12px rgba(30,190,87,0.9), 0 0 0 8px rgba(30,190,87,0.12);
  }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Utility ---------- */
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }
.fw-bold { font-weight: 700; }
.small { font-size: 0.88rem; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* ---------- Services Page — Tabs ---------- */
.svc-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.svc-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.svc-tab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0,87,184,0.05);
}
.svc-tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(7,42,82,0.4);
}

/* ---------- Services Page — Showcase Box ---------- */
.svc-showcase-box {
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px -20px rgba(7,42,82,0.12);
}
.svc-photo-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -12px rgba(7,42,82,0.15);
}
.svc-photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.svc-photo-placeholder {
  width: 100%;
  height: 340px;
  background: var(--grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- Contact Page — Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact Page — Form Card ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 10px 40px -20px rgba(7,42,82,0.1);
}
@media (max-width: 640px) {
  .form-card { padding: 24px 18px; }
}

/* ---------- Form Fields ---------- */
.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 680px) {
  .fgrid { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color .25s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,0.1);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5C71' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---------- Contact Info Lines ---------- */
.info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-line:last-of-type { border-bottom: none; }
.info-line .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,87,184,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 0.95rem;
}
.info-line h4 {
  font-size: 0.9rem;
  margin-bottom: 3px;
  color: var(--navy);
}
.info-line p {
  font-size: 0.86rem;
  color: var(--slate);
  margin: 0;
}
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed iframe {
  display: block;
}

/* ---------- Blog Cards (Bootstrap fallback) ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px -26px rgba(7,42,82,0.25);
}
.blog-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  display: block;
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

/* ---------- Soft Card Icon Override (FA icons) ---------- */
.soft-card .icon i {
  font-size: 1.15rem;
  color: var(--blue);
}

/* ---------- Alert / Validation ---------- */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.text-danger { color: #dc2626 !important; }
.text-success { color: #16a34a !important; }

/* ---------- Policy Pages ---------- */
.policy-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .policy-grid { grid-template-columns: 1fr; }
}
.policy-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.policy-sidebar h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--navy);
}
.policy-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.policy-nav a {
  font-size: 0.88rem;
  color: var(--slate);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.policy-nav a:hover {
  background: rgba(0,87,184,0.06);
  color: var(--blue);
}
.policy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  line-height: 1.8;
}
.policy-card h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--navy);
}
.policy-card h2:first-child { margin-top: 0; }
.policy-card h3 {
  font-size: 1.1rem;
  margin: 20px 0 8px;
  color: var(--navy);
}
.policy-card p {
  color: var(--slate);
  margin-bottom: 14px;
}
.policy-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
  color: var(--slate);
}
.policy-card ul li {
  margin-bottom: 6px;
}
.policy-summary {
  background: rgba(0,87,184,0.05);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.policy-summary .summary-icon {
  color: var(--blue);
  font-size: 1.25rem;
  margin-top: 2px;
}
.policy-meta {
  color: var(--slate);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* ================================================================
   ADMIN PANEL STYLES — Complete Admin UI System
   ================================================================ */

/* ── Auth Pages (Login / Setup) ─────────────────────────────── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #071322 0%, #0B2740 40%, #0A3D7A 100%);
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 42% at 14% 18%, rgba(63,198,247,0.18), transparent 60%),
    radial-gradient(38% 46% at 88% 12%, rgba(0,212,232,0.14), transparent 60%),
    radial-gradient(60% 60% at 75% 90%, rgba(0,87,184,0.3), transparent 65%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px 40px;
  box-shadow: 0 32px 80px -24px rgba(7,42,82,0.55), 0 0 0 1px rgba(255,255,255,0.08);
  animation: authSlideIn 0.45s cubic-bezier(.22,.85,.32,1) both;
}
@keyframes authSlideIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0B2740, #0057B8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 12px 28px -10px rgba(7,42,82,0.5);
}
.auth-logo i {
  font-size: 1.8rem;
  color: #3FC6F7;
}
.auth-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.auth-header h1 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0B2740;
  margin-bottom: 8px;
}
.auth-header p {
  color: #64748B;
  font-size: 0.93rem;
  margin: 0;
}
.auth-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0057B8;
  background: rgba(0,87,184,0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: #64748B;
}
.auth-footer a {
  color: #0057B8;
  font-weight: 600;
  text-decoration: none;
}
.auth-footer a:hover { text-decoration: underline; }
.auth-footer p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── Form Controls (Admin) ───────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  font-weight: 600;
  font-size: 0.85rem;
  color: #0B2740;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-group label i {
  color: #0057B8;
  font-size: 0.82rem;
}
.form-control {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.93rem;
  color: #1E293B;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .2s;
  box-sizing: border-box;
}
.form-control:focus {
  border-color: #0057B8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,87,184,0.1);
}
.form-control::placeholder { color: #94A3B8; }
.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row .flex-2 { grid-column: span 2; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.password-wrap {
  position: relative;
}
.password-wrap .form-control {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .2s;
  font-size: 0.9rem;
}
.password-toggle:hover { color: #0057B8; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0057B8;
  cursor: pointer;
}

/* ── Buttons (Admin variants) ────────────────────────────────── */

.btn-block {
  width: 100%;
  justify-content: center;
}
.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: 8px;
  gap: 6px;
  font-weight: 600;
}
.btn-sm i { font-size: 0.8rem; }
.btn-logout {
  background: rgba(220,38,38,0.08) !important;
  color: #dc2626 !important;
  border: 1px solid rgba(220,38,38,0.2) !important;
}
.btn-logout:hover {
  background: rgba(220,38,38,0.15) !important;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-danger {
  background: #dc2626 !important;
  color: #fff !important;
  border-color: #dc2626 !important;
}
.btn-danger:hover {
  background: #b91c1c !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(220,38,38,0.5);
}

/* ── Alert Messages ──────────────────────────────────────────── */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.5;
}
.alert i { margin-top: 1px; flex-shrink: 0; }
.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.alert-success i { color: #16a34a; }
.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.alert-warning i { color: #d97706; }
.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.alert-error i { color: #dc2626; }

/* ── Admin Layout ─────────────────────────────────────────────── */

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #F1F5F9;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: #0B192C;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 16px;
  background: #071322;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.admin-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  color: #F8FAFC;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.admin-logo a i {
  font-size: 1.1rem;
  color: #3FC6F7;
  background: rgba(63,198,247,0.12);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-logo a img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.admin-logo-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.admin-logo-label span:first-child {
  font-size: 0.93rem;
  font-weight: 700;
  color: #F8FAFC;
}
.admin-logo-label span:last-child {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Sidebar Nav */
.admin-nav {
  flex: 1;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.admin-nav-heading {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.32);
  padding: 14px 12px 5px;
  font-weight: 700;
  font-family: var(--font-head, sans-serif);
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.865rem;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.admin-nav-item i {
  width: 18px;
  text-align: center;
  font-size: 0.87rem;
  flex-shrink: 0;
  opacity: 0.85;
}
.admin-nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: #F8FAFC;
}
.admin-nav-item:hover i { opacity: 1; }
.admin-nav-item.active {
  background: rgba(234,88,12,0.18);
  color: #FFFFFF;
  border-left: 3px solid #EA580C;
  padding-left: 9px;
}
.admin-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 10px 4px;
}

/* Sidebar User Info */
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #071322;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.admin-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(63,198,247,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(63,198,247,0.25);
}
.admin-user-avatar i {
  font-size: 1.25rem;
  color: #3FC6F7;
}
.admin-user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.admin-user-name {
  font-size: 0.87rem;
  font-weight: 600;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-role {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
}

/* Main Content Area */
.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* Topbar */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 62px;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 6px rgba(11,39,64,0.06);
}
.admin-topbar h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #0B2740;
  margin: 0;
}
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Content */
.admin-content {
  padding: 28px;
  flex: 1;
}
.admin-content h1 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0B2740;
  margin-bottom: 24px;
}
.admin-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B2740;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Admin Section Cards */
.admin-section {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(11,39,64,0.04);
}
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(11,39,64,0.04);
  transition: transform .25s, box-shadow .25s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -16px rgba(11,39,64,0.2);
}
.stat-card.accent { border-top: 3px solid #EA580C; }
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,87,184,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0057B8;
  font-size: 1.1rem;
}
.stat-card.accent .stat-icon {
  background: rgba(234,88,12,0.1);
  color: #EA580C;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #0B2740;
  line-height: 1;
  font-family: var(--font-head, sans-serif);
}
.stat-label {
  font-size: 0.81rem;
  color: #64748B;
  font-weight: 500;
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 2px solid #E2E8F0;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #F8FAFC; }
.admin-table td a { color: #0057B8; }
.admin-table td a:hover { text-decoration: underline; }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Loading Spinner */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: #64748B;
  font-size: 0.95rem;
}
.loading i {
  font-size: 1.4rem;
  color: #0057B8;
}

/* ── Modals ──────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,19,34,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px -30px rgba(7,42,82,0.5);
  animation: modalSlide .3s cubic-bezier(.22,.85,.32,1) both;
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0B2740;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-header h2 i { color: #0057B8; }
.modal-close {
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.modal-close:hover { background: #E2E8F0; color: #0B2740; }
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  border-radius: 0 0 20px 20px;
  flex-shrink: 0;
}

/* ── Misc / Validation ────────────────────────────────────────── */

.validation-message {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 3px;
}

/* Responsive Admin Layout */
@media (max-width: 900px) {
  .admin-sidebar {
    width: 220px;
    min-width: 220px;
  }
  .admin-main {
    margin-left: 220px;
  }
}
@media (max-width: 700px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.22,.85,.32,1);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-content {
    padding: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .auth-card {
    padding: 36px 24px 28px;
  }
}
