/* ============================================================
   TECHIES KENYA LIMITED — Global Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue:        #0057D9;
  --blue-dark:   #00388A;
  --blue-light:  #E8F0FB;
  --navy:        #071B3D;
  --navy-light:  #0D2755;
  --amber:       #F2A900;
  --amber-dark:  #C98800;
  --white:       #FFFFFF;
  --off-white:   #F6F7F9;
  --light-grey:  #E9EBF0;
  --mid-grey:    #9AA3B5;
  --dark-grey:   #333A4D;
  --black:       #07090F;
  --text-body:   #333A4D;
  --text-muted:  #6B7286;

  --font-display: 'IBM Plex Sans Condensed', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius-sm:   2px;
  --radius-md:   3px;
  --radius-lg:   4px;
  --radius-xl:   4px;

  --shadow-sm:   0 1px 0 rgba(7,27,61,0.06);
  --shadow-md:   0 6px 18px rgba(7,27,61,0.10);
  --shadow-lg:   0 14px 34px rgba(7,27,61,0.14);

  --nav-height:  100px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.display-1 { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -0.01em; }
.display-2 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -0.01em; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 0;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn-primary-tk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--blue);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-tk::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  border-radius: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: -1;
}

.btn-primary-tk:hover::before { transform: scaleX(1); }
.btn-primary-tk:hover { color: var(--white); border-color: var(--navy); }

.btn-outline-tk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.55);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-tk:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--blue);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--blue);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  transition: var(--transition);
}

.btn-arrow svg { transition: transform var(--transition); }
.btn-arrow:hover svg { transform: translateX(5px); }
.btn-arrow:hover { color: var(--navy); }

/* ---------- NAVBAR ---------- */
#navbar-placeholder { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }

.tk-navbar {
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.tk-navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7,27,61,0.06), 0 12px 30px rgba(7,27,61,0.06);
  height: 84px;
  border-bottom: 3px solid var(--amber);
}

.tk-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.tk-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.tk-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.tk-navbar.scrolled .tk-logo-img { height: 48px; }

/* Logo art is dark/colored, so over the transparent navbar (dark hero
   behind it) it gets forced to a clean solid white via filter. Once the
   navbar turns white on scroll, the filter is removed and the logo
   shows its full original color. */
.tk-navbar:not(.scrolled) .tk-logo-img {
  filter: brightness(0) invert(1);
}

/* Nav Links */
.tk-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tk-nav-links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.tk-navbar.scrolled .tk-nav-links a { color: var(--dark-grey); }

.tk-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--amber);
  border-radius: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tk-nav-links a:hover::after,
.tk-nav-links a.active::after { transform: scaleX(1); }

.tk-nav-links a:hover { color: var(--blue); }
.tk-navbar:not(.scrolled) .tk-nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }

.tk-nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 11px 24px !important;
  border-radius: var(--radius-sm) !important;
  border: 2px solid transparent;
  transition: var(--transition);
}

.tk-nav-cta::after { display: none !important; }
.tk-nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; }
.tk-navbar:not(.scrolled) .tk-nav-cta { background: var(--white); color: var(--navy) !important; }
.tk-navbar:not(.scrolled) .tk-nav-cta:hover { background: rgba(255,255,255,0.85) !important; }

/* Hamburger */
.tk-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  z-index: 1100;
}

.tk-hamburger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
}

.tk-navbar.scrolled .tk-hamburger span { background: var(--navy); }

.tk-hamburger span:nth-child(1) { width: 28px; }
.tk-hamburger span:nth-child(2) { width: 20px; }
.tk-hamburger span:nth-child(3) { width: 24px; }

/* When the mobile menu is open, force the hamburger icon to stay white
   since it now sits on a solid blue overlay (instead of switching to
   navy like it used to on the old white boxed menu). */
.tk-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); width: 28px; background: var(--white); }
.tk-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.tk-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 28px; background: var(--white); }

/* ---------- Mobile Overlay Menu ----------
   Updated: solid blue background (brand blue -> navy gradient), no boxed
   white card, no border-radius anywhere (block design), and slightly
   smaller link type so the menu feels tighter on small screens. */
.tk-mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  overflow: hidden;
}

.tk-mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.tk-mobile-menu::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  bottom: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  pointer-events: none;
}

.tk-mobile-menu.open { transform: translateX(0); }

.tk-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.tk-mobile-links a {
  font-family: var(--font-display);
  /* slightly reduced from the previous clamp(1.8rem, 5vw, 2.5rem) */
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  padding: 8px 24px;
  text-align: center;
  border-radius: 0;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease, color 0.2s ease;
}

.tk-mobile-menu.open .tk-mobile-links a {
  transform: translateY(0);
  opacity: 1;
}

.tk-mobile-links a:nth-child(1)  { transition-delay: 0.08s; }
.tk-mobile-links a:nth-child(2)  { transition-delay: 0.13s; }
.tk-mobile-links a:nth-child(3)  { transition-delay: 0.18s; }
.tk-mobile-links a:nth-child(4)  { transition-delay: 0.23s; }
.tk-mobile-links a:nth-child(5)  { transition-delay: 0.28s; }
.tk-mobile-links a:nth-child(6)  { transition-delay: 0.33s; }
.tk-mobile-links a:nth-child(7)  { transition-delay: 0.38s; }
.tk-mobile-links a:nth-child(8)  { transition-delay: 0.43s; }
.tk-mobile-links a:nth-child(9)  { transition-delay: 0.48s; }

.tk-mobile-links a:hover,
.tk-mobile-links a.active { color: var(--amber); }

.tk-mobile-cta {
  margin-top: 18px;
  position: relative;
  z-index: 2;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s ease 0.5s, opacity 0.4s ease 0.5s;
}

.tk-mobile-menu.open .tk-mobile-cta { transform: translateY(0); opacity: 1; }

/* Mobile menu CTA button restyled to sit on the blue overlay: outline
   style by default, solid amber on hover, square corners. */
.tk-mobile-cta .btn-primary-tk,
.tk-mobile-cta a {
  border-radius: 0;
}

.tk-mobile-cta .btn-outline-tk {
  border-radius: 0;
  border-color: rgba(255,255,255,0.5);
}

.tk-mobile-cta .btn-outline-tk:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

/* ---------- HERO ---------- */
.tk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tk-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #040e2e 0%, #071B52 45%, #0057D9 100%);
  z-index: 0;
}

.tk-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tk-hero-grid {
  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;
  z-index: 1;
}

.tk-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.tk-hero-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(0,87,217,0.35);
  top: -150px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.tk-hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(7,27,82,0.6);
  bottom: -100px;
  left: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

.tk-hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 10px);
}

.tk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.tk-hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.tk-hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.tk-hero h1 .highlight {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  position: relative;
}

.tk-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.tk-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero Stats Strip */
.tk-hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 28px 0;
  margin-top: auto;
}

.tk-stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.tk-stat-item:last-child { border-right: none; }

.tk-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.tk-stat-num span { color: var(--amber); }

.tk-stat-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- SECTIONS ---------- */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.bg-white   { background: var(--white); }
.bg-off     { background: var(--off-white); }
.bg-light   { background: var(--light-grey); }
.bg-navy    { background: var(--navy); }
.bg-blue    { background: var(--blue); }

/* ---------- SERVICE CARDS ---------- */
.tk-service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1.5px solid var(--light-grey);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

.tk-service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tk-service-card:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,87,217,0.18);
}

.tk-service-card:hover::before { transform: scaleX(1); }

.tk-service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
  font-size: 1.7rem;
}

.tk-service-card:hover .tk-service-icon {
  background: var(--blue);
  transform: scale(1.05);
}

.tk-service-card:hover .tk-service-icon svg,
.tk-service-card:hover .tk-service-icon i { color: white; }

.tk-service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.tk-service-card:hover h4 { color: var(--blue); }

.tk-service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.tk-service-list { margin-top: 16px; }

.tk-service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--light-grey);
}

.tk-service-list li:last-child { border: none; }

.tk-service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 0;
  flex-shrink: 0;
}

/* ---------- PROJECT CARDS ---------- */
.tk-project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  transition: all 0.4s ease;
  height: 100%;
}

.tk-project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.tk-project-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tk-project-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tk-project-card:hover .tk-project-img-inner { transform: scale(1.06); }

.tk-project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.tk-project-body { padding: 28px 26px; }
.tk-project-body h4 { font-size: 1.1rem; margin-bottom: 8px; }
.tk-project-body p { font-size: 0.88rem; color: var(--text-muted); }

/* Filter Buttons */
.tk-filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-grey);
  background: var(--white);
  color: var(--dark-grey);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tk-filter-btn:hover,
.tk-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ---------- WHY CHOOSE CARDS ---------- */
.tk-why-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  transition: all 0.35s ease;
}

.tk-why-card:hover { box-shadow: var(--shadow-md); border-color: rgba(0,87,217,0.2); transform: translateY(-4px); }

.tk-why-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--blue);
  transition: var(--transition);
}

.tk-why-card:hover .tk-why-icon { background: var(--blue); color: var(--white); }

/* ---------- HSE CARDS ---------- */
.tk-hse-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

.tk-hse-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
}

.tk-hse-icon {
  width: 64px;
  height: 64px;
  background: rgba(0,87,217,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #60a5fa;
  transition: var(--transition);
}

.tk-hse-card:hover .tk-hse-icon { background: var(--blue); color: white; }

.tk-hse-card h5 { color: white; font-size: 1rem; margin-bottom: 8px; }
.tk-hse-card p  { color: rgba(255,255,255,0.65); font-size: 0.85rem; }

/* ---------- CERT CARDS ---------- */
.tk-cert-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--light-grey);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
}

.tk-cert-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); transform: translateY(-5px); }

.tk-cert-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--blue);
  transition: var(--transition);
}

.tk-cert-card:hover .tk-cert-img { background: var(--blue); color: white; }

.tk-cert-card h5 { font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.tk-cert-card p  { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- CAREERS ---------- */
.tk-job-card {
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  transition: all 0.35s ease;
}

.tk-job-card:hover { box-shadow: var(--shadow-md); border-color: rgba(0,87,217,0.25); }

.tk-job-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

/* ---------- CONTACT ---------- */
.tk-contact-form input,
.tk-contact-form select,
.tk-contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.tk-contact-form input:focus,
.tk-contact-form select:focus,
.tk-contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,87,217,0.08);
}

.tk-contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-grey);
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.02em;
}

.tk-map-placeholder {
  width: 100%;
  height: 380px;
  background: var(--light-grey);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  border: 2px dashed var(--mid-grey);
  overflow: hidden;
}

/* ---------- FOOTER ---------- */
.tk-footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 0;
  margin-top: 60px;
  position: relative;
  border-top: 6px solid var(--amber);
}

.tk-footer::before {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 14px,
    var(--navy) 14px 28px
  );
  opacity: 0.9;
}

.tk-footer > .container { padding-top: 70px; }

.tk-footer h5 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.tk-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.tk-footer a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  display: block;
  padding: 6px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.tk-footer a:hover { color: var(--amber); padding-left: 4px; }

.tk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
}

.tk-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.tk-social-link:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); transform: translateY(-3px); }

/* ---------- PAGE HERO (inner pages) ---------- */
.tk-page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: calc(var(--nav-height) + 70px) 0 90px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--amber);
}

.tk-page-hero h1 { color: white; }
.tk-page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; }

.tk-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tk-breadcrumb a { color: rgba(255,255,255,0.75); }
.tk-breadcrumb a:hover { color: var(--amber); }

/* ---------- DIVIDER ---------- */
.tk-divider {
  width: 56px;
  height: 4px;
  background: var(--amber);
  border-radius: 0;
  margin: 0 auto 24px;
}

.tk-divider.left { margin-left: 0; }

/* ---------- CTA BANNER ---------- */
.tk-cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--amber);
}

.tk-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.tk-cta-banner h2 { color: white; margin-bottom: 14px; }
.tk-cta-banner p  { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1.05rem; }

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ---------- BACK TO TOP ---------- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
  z-index: 999;
}

#back-to-top.show { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--navy); }

/* ---------- LOADING SCREEN ---------- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}

.loader-logo span { color: var(--amber); }

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 0;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 0;
  width: 0%;
  animation: loadFill 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes loadFill {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* ---------- TIMELINE ---------- */
.tk-timeline { position: relative; padding-left: 32px; }
.tk-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.tk-timeline-item { position: relative; padding-bottom: 36px; }
.tk-timeline-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 6px;
  width: 12px; height: 12px;
  background: var(--amber);
  border: 3px solid var(--white);
  border-radius: 0;
  box-shadow: 0 0 0 3px var(--blue-light);
}

.tk-timeline-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- PROGRESS BARS ---------- */
.tk-progress {
  background: var(--light-grey);
  border-radius: var(--radius-sm);
  height: 8px;
  overflow: hidden;
  margin-top: 8px;
}

.tk-progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: var(--radius-sm);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- CONTACT INFO ITEMS ---------- */
.tk-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-grey);
}

.tk-contact-info-item:last-child { border: none; }

.tk-info-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 1.2rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .tk-nav-links { display: none; }
  .tk-hamburger { display: flex; }
  .section-pad { padding: 70px 0; }
}

@media (max-width: 767px) {
  .tk-hero-stats .col-6.col-md-3 { padding: 14px 10px; }
  .tk-stat-num { font-size: 1.7rem; }
  .tk-cta-banner { padding: 50px 28px; }
  .tk-service-card { padding: 28px 22px; }

  /* further tighten mobile menu link size on smaller phones */
  .tk-mobile-links a { font-size: clamp(1.25rem, 6vw, 1.7rem); padding: 7px 24px; }
}

@media (max-width: 575px) {
  :root { --nav-height: 84px; }
  .tk-hero h1 { font-size: 2.2rem; }
  .section-pad { padding: 56px 0; }
  .tk-hero-btns { flex-direction: column; }
  .btn-primary-tk, .btn-outline-tk { justify-content: center; }
}

/* ---------- UTILITIES ---------- */
.text-blue   { color: var(--blue) !important; }
.text-navy   { color: var(--navy) !important; }
.text-muted-tk { color: var(--text-muted) !important; }
.fw-800      { font-weight: 800; }
.gap-12      { gap: 12px; }
.lh-1        { line-height: 1; }