/*
Theme Name: Sijima Innovations
Theme URI: https://sijima.co.ke
Author: Sijima Innovations
Author URI: https://sijima.co.ke
Description: Conversational AI solutions for Kenyan business. Custom theme with WordPress Customizer integration for full content management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sijima
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0b1a3b;
  --navy-mid: #0f2347;
  --navy-light: #162d5a;
  --navy-dark: #050e22;
  --gold: #f5a623;
  --gold-light: #ffbe45;
  --gold-dim: rgba(245,166,35,0.15);
  --accent: #00d4aa;
  --accent-dim: rgba(0,212,170,0.12);
  --coral: #ff6b6b;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #f2f3f5;
  --gray-100: #e8eaed;
  --gray-200: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,31,68,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled { background: rgba(10,31,68,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 9px 22px; border-radius: 6px; font-weight: 600;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all 0.25s; border: none; font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,0.4); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.btn-full { width: 100%; text-align: center; }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); color: var(--white); overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 20%, transparent 70%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.hero-glow--1 { width: 700px; height: 700px; top: -20%; right: -10%; background: radial-gradient(circle, rgba(245,166,35,0.18), transparent 70%); }
.hero-glow--2 { width: 500px; height: 500px; bottom: -30%; left: -5%; background: radial-gradient(circle, rgba(0,212,170,0.08), transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero-label {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
  margin-bottom: 24px; padding: 6px 16px; border: 1px solid rgba(245,166,35,0.4); border-radius: 100px;
  background: rgba(245,166,35,0.08);
}
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.12; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.03em; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 24px 28px;
  backdrop-filter: blur(10px); transition: transform 0.3s, border-color 0.3s;
}
.hero-card:hover { transform: translateX(-4px); border-color: rgba(245,166,35,0.4); box-shadow: 0 4px 20px rgba(245,166,35,0.1); }
.hc-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.hc-metric { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; color: var(--gold); }
.hc-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

.stats-bar { background: var(--navy-dark); padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-value { font-size: 2.4rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; font-family: 'JetBrains Mono', monospace; }
.stat-suffix { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.stat-label { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

.section { padding: 100px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-muted { background: var(--off-white); }

.section-header { max-width: 600px; margin-bottom: 56px; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,0.5); }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 12px;
}
.section-header h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; }



.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; position: relative;
}
.service-card:hover { border-color: var(--gold); box-shadow: 0 12px 40px rgba(245,166,35,0.12); transform: translateY(-4px); }
.sc-number { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 500; color: var(--gold); margin-bottom: 20px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }

.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 28px 24px; transition: all 0.3s; backdrop-filter: blur(10px);
}
.ind-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245,166,35,0.12); }
.ind-icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 16px; }
.ind-icon svg { width: 100%; height: 100%; }
.ind-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ind-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 12px; }
.ind-metric { font-size: 0.78rem; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }

.process-timeline { position: relative; padding-left: 60px; }
.process-timeline::before {
  content: ''; position: absolute; left: 23px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.pt-step { display: flex; gap: 28px; margin-bottom: 48px; position: relative; }
.pt-step:last-child { margin-bottom: 0; }
.pt-marker {
  position: absolute; left: -60px; width: 48px; height: 48px;
  background: var(--white); border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.pt-marker span { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 700; color: var(--gold); }
.pt-content h4 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pt-content p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 8px; }
.pt-duration {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold); background: var(--gold-dim); padding: 3px 10px; border-radius: 4px;
}

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-left h2 { color: var(--white); font-size: 2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.contact-left > p { color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.cd-label { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 4px; }
.cd-value { display: block; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.cd-link { text-decoration: none; transition: color 0.2s; }
.cd-link:hover { color: var(--white); }

.contact-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px; backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 20px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field label {
  display: block; font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.5);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em;
}
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; font-family: inherit; font-size: 0.9rem;
  color: var(--white); background: rgba(255,255,255,0.04); transition: border-color 0.2s;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.cf-field select { appearance: none; }
.cf-field select option { background: var(--navy); color: var(--white); }
.cf-field textarea { resize: vertical; min-height: 100px; }

.footer { background: var(--navy-dark); color: rgba(255,255,255,0.5); padding: 32px; }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.8rem; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { flex-direction: row; flex-wrap: wrap; }
  .hero-card { flex: 1; min-width: 180px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(10,31,68,0.98); flex-direction: column;
    padding: 24px 32px; gap: 16px; border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.active { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .hero-visual { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-timeline { padding-left: 48px; }
  .pt-marker { left: -48px; width: 40px; height: 40px; }
}