/* Software Bytes — Custom Styles */

:root {
  --primary:   #0a2540;
  --accent:    #0078d4;
  --accent-lt: #50b0f0;
  --light-bg:  #f4f7fb;
  --dark-bg:   #0a2540;
  --card-bg:   #ffffff;
  --text-dark: #1a1a2e;
  --text-muted:#6c757d;
  --border:    #dee2e6;
  --gradient:  linear-gradient(135deg, #0a2540 0%, #0078d4 100%);
}

/* ── Global ────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fff;
  scroll-behavior: smooth;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-lt); }

/* ── Navigation ────────────────────────────────── */
.navbar {
  background: var(--primary) !important;
  padding: 0.85rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--accent-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  border-bottom: 2px solid var(--accent);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-lt);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--accent-lt);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary-custom:hover {
  background: #006bbf;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
  margin-left: 0.75rem;
}

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

/* ── Section titles ────────────────────────────── */
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.75rem auto 1.25rem;
}

/* ── Service Cards ─────────────────────────────── */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,120,212,0.12);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,120,212,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent);
}

.service-card h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Skill Tags ────────────────────────────────── */
.skill-tag {
  display: inline-block;
  background: rgba(0,120,212,0.08);
  color: var(--accent);
  border: 1px solid rgba(0,120,212,0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.25rem;
  transition: background 0.2s;
}

.skill-tag:hover {
  background: rgba(0,120,212,0.15);
}

/* ── Skill Group ───────────────────────────────── */
.skill-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
}

.skill-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Stats strip ───────────────────────────────── */
.stats-strip {
  background: var(--gradient);
  color: #fff;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-number span {
  color: var(--accent-lt);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ── Page hero (inner pages) ───────────────────── */
.page-hero {
  background: var(--gradient);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0;
}

/* ── IR35 / About card ─────────────────────────── */
.highlight-card {
  background: rgba(0,120,212,0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ── Contact ───────────────────────────────────── */
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.contact-method:hover { border-color: var(--accent); }

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,120,212,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

/* ── Footer ────────────────────────────────────── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

footer .footer-brand {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

footer p {
  font-size: 0.88rem;
  line-height: 1.6;
}

footer a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

footer a:hover { color: var(--accent-lt); }

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

.footer-links li { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ── Utilities ─────────────────────────────────── */
.bg-light-custom { background: var(--light-bg); }

.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }

@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; }
  .section-pad { padding: 3.5rem 0; }
  .btn-outline-custom { margin-left: 0; margin-top: 0.75rem; }
}
