:root {
  --bg-dark: #050b16;
  --bg-nav: #070f1f;
  --bg-section: #0a1a2f;
  --accent: #1e3a8a;
  --accent-light: #3b82f6;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --danger: #ef4444;
  --success: #22c55e;
  --border-subtle: #1f2937;
  --card-bg: #0f172a;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  margin: 0;
}

.section-subtitle {
  margin-top: 0.6rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.96),
    rgba(3, 7, 18, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Aligns logo image + text perfectly */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* adjust spacing between logo and text */
}

/* Logo image sizing */
.logo-img {
  height: 48px;   /* adjust size if needed */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Text block next to the logo */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0, #60a5fa, #1e3a8a 45%, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
}

.logo-mark span {
  font-weight: 800;
  font-size: 1.05rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Soft glow + shadow for dark-blue theme */
.logo-img {
  height: 54px; /* slightly larger for better balance */
  width: auto;
  display: block;
  object-fit: contain;

  /* Glow + shadow */
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.45))
          drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem; /* slightly increased for better breathing room */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent-light), #38bdf8);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-main);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta a.primary {
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-light), #38bdf8);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.nav-cta a.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.7);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  margin-bottom: 1.1rem;
}

.hero-kicker-pill {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: var(--accent-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-kicker-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.4rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.hero-title span {
  background: linear-gradient(to right, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-med), color var(--transition-med),
    border-color var(--transition-med), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), #38bdf8);
  color: #020617;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.85);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(55, 65, 81, 0.9);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(31, 41, 55, 0.9);
  border-color: rgba(75, 85, 99, 1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-meta-item strong {
  display: block;
  color: var(--text-main);
  font-size: 0.9rem;
}

/* Hero right */

.hero-right {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  border-radius: 22px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-card-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-card-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.hero-metric {
  font-size: 2.1rem;
  font-weight: 700;
}

.hero-metric span {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.hero-metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.hero-pills {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.72rem;
}

.hero-pill span:last-child {
  color: #4ade80;
}

.hero-card-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-orbit {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  opacity: 0.5;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  border-color: rgba(59, 130, 246, 0.7);
}

.card:hover::before {
  opacity: 1;
}

.card-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.card-body {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.card-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.card-list li + li {
  margin-top: 0.25rem;
}

/* MSP highlight */

.msp-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.msp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.72rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
}

.msp-points {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.msp-card {
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  border-radius: 18px;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
}

.msp-card-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.msp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  color: var(--accent-light);
  font-size: 0.72rem;
}

/* About preview */

.about-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.4rem;
}

.about-stat {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text-main);
}

/* Contact CTA */

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.contact-cta-box {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.contact-cta-box strong {
  color: var(--text-main);
}

/* Services page */

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.service-group {
  margin-bottom: 2rem;
}

.service-group-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.service-group-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.service-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.msp-panel {
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
}

.msp-panel h3 {
  margin-top: 0;
}

.msp-panel ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

/* About page */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.values-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.team-card {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  font-size: 0.84rem;
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.78rem;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
}

.team-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.form-card {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
  flex: 1;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.86rem;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7);
  background: rgba(15, 23, 42, 1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-helper {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-info-card {
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.contact-info-list li + li {
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.6rem 0 2rem;
  background: radial-gradient(circle at top, #020617, #000 70%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner,
  .msp-highlight,
  .about-preview,
  .contact-cta,
  .layout-two,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-cta {
    display: none;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 3.2rem 0;
  }
}
