/* ═══════════════════════════════════════════════════════════════════════════════
   WISJANE SMART SYSTEMS — Design System
   Brand: #08428C  |  Light & Dark Theme  |  v5
═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Dark Theme (default) ───────────────────────────────────────────────────── */
:root, [data-theme="dark"] {
  --brand:         #08428C;
  --brand-dark:    #062f6a;
  --brand-light:   #3a8fd4;
  --brand-xlight:  #7fbde8;
  --accent:        #06b6d4;
  --accent-green:  #10b981;
  --accent-orange: #f59e0b;
  --accent-red:    #ef4444;

  --bg-primary:    #06090f;
  --bg-secondary:  #0c1220;
  --bg-card:       #111928;
  --bg-card-hover: #16213a;
  --bg-glass:      rgba(8,66,140,0.08);

  --text-primary:  #f0f4ff;
  --text-secondary:#94a8c8;
  --text-muted:    #4a6080;

  --border:        rgba(8,66,140,0.2);
  --border-hover:  rgba(58,143,212,0.5);

  --shadow-brand:  0 8px 32px rgba(8,66,140,0.4);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.5);

  --navbar-bg:     rgba(6,9,15,0.88);
  --footer-bg:     rgba(4,6,12,0.95);
  --section-glass: rgba(6,9,15,0.70);
  --card-blur:     blur(8px);
}

/* ─── Light Theme ────────────────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg-primary:    #f0f4fa;
  --bg-secondary:  #e4ecf7;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0f6ff;
  --bg-glass:      rgba(8,66,140,0.05);

  --text-primary:  #0d1f3c;
  --text-secondary:#2a4a72;
  --text-muted:    #6a88aa;

  --border:        rgba(8,66,140,0.15);
  --border-hover:  rgba(8,66,140,0.45);

  --shadow-brand:  0 8px 32px rgba(8,66,140,0.25);
  --shadow-md:     0 4px 24px rgba(8,66,140,0.12);
  --shadow-lg:     0 20px 60px rgba(8,66,140,0.15);

  --navbar-bg:     rgba(240,244,250,0.92);
  --footer-bg:     #0d1f3c;
  --section-glass: rgba(240,244,250,0.80);
  --card-blur:     blur(6px);
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ─── CSS Variables shorthand ─────────────────────────────────────────────────── */
--radius-sm:  6px;
--radius-md:  12px;
--radius-lg:  20px;
--radius-xl:  32px;
--transition: 0.22s cubic-bezier(0.4,0,0.2,1);
--transition-slow: 0.45s cubic-bezier(0.4,0,0.2,1);
:root {
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Typography ─────────────────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(8,66,140,0.12); border: 1px solid rgba(8,66,140,0.25);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
[data-theme="light"] .section-eyebrow { background: rgba(8,66,140,0.08); border-color: rgba(8,66,140,0.2); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.5vw, 50px); font-weight: 700;
  line-height: 1.1; margin-bottom: 18px;
}
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: white;
  font-size: 15px; font-weight: 600; padding: 14px 28px;
  border-radius: var(--radius-md); transition: var(--transition);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(8,66,140,0.5); }
.btn-primary svg   { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border-hover); color: var(--text-primary);
  font-size: 15px; font-weight: 600; padding: 13px 27px;
  border-radius: var(--radius-md); transition: var(--transition);
}
.btn-outline:hover { background: var(--bg-glass); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary); font-size: 15px; font-weight: 500;
  padding: 14px 20px; border-radius: var(--radius-md); transition: var(--transition);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--brand-light); background: var(--bg-glass); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--brand-dark);
  font-size: 15px; font-weight: 700; padding: 14px 28px;
  border-radius: var(--radius-md); transition: var(--transition);
}
.btn-white:hover { background: #e8f0fb; transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.4); color: white;
  font-size: 15px; font-weight: 600; padding: 13px 27px;
  border-radius: var(--radius-md); transition: var(--transition);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ─── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), padding var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); padding: 8px 0; }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo-img { height: 48px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-primary); }
.brand-tag  { font-size: 10px; font-weight: 500; color: var(--brand-light); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--bg-glass); }
.nav-link.active { color: var(--brand-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-outline {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: var(--transition);
}
.btn-nav-outline:hover { border-color: var(--brand); color: var(--brand-light); }
.btn-nav-primary {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px; background: var(--brand); color: white;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  transition: var(--transition);
}
.btn-nav-primary:hover { background: var(--brand-dark); }
.btn-nav-primary svg { width: 14px; height: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: var(--transition); }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-link--drop { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-link--drop svg { transition: transform var(--transition); }
.nav-dropdown:hover .nav-link--drop svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 8px; min-width: 220px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: var(--transition); z-index: 999;
  backdrop-filter: var(--card-blur);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-secondary); transition: var(--transition);
}
.dropdown-item:hover { background: rgba(8,66,140,0.1); color: var(--brand-light); }
.dropdown-item svg { color: var(--brand-light); flex-shrink: 0; }

/* ─── HERO CAROUSEL ──────────────────────────────────────────────────────────── */
.hero-carousel {
  position: relative; height: 100vh; min-height: 620px; max-height: 900px;
  overflow: hidden;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.75s cubic-bezier(0.77,0,0.175,1);
}
.carousel-slide {
  position: relative; min-width: 100%; height: 100%; flex-shrink: 0;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
  background-repeat: no-repeat;
  transition: transform 8s ease;
}
.carousel-slide.active .slide-bg { transform: scale(1.04); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6,9,15,0.92) 0%,
    rgba(8,66,140,0.20) 45%,
    rgba(6,9,15,0.05) 100%
  );
}
[data-theme="light"] .slide-overlay {
  background: linear-gradient(
    100deg,
    rgba(240,244,250,0.94) 0%,
    rgba(8,66,140,0.12) 45%,
    rgba(240,244,250,0.02) 100%
  );
}
.carousel-slide .container { height: 100%; display: flex; align-items: center; position: relative; z-index: 1; }
.slide-content {
  max-width: 600px; padding-top: 80px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.carousel-slide.active .slide-content { opacity: 1; transform: translateY(0); }
.slide-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-green); background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25); padding: 6px 14px;
  border-radius: 100px; margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.slide-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.05;
  margin-bottom: 20px;
}
.slide-accent { color: var(--brand-light); }
[data-theme="light"] .slide-accent { color: var(--brand); }
.slide-subtitle {
  font-size: 17px; color: var(--text-secondary); line-height: 1.7;
  max-width: 500px; margin-bottom: 36px;
}
.slide-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Carousel Controls */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(8,66,140,0.25); border: 1.5px solid rgba(58,143,212,0.35);
  backdrop-filter: blur(12px); color: white; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.carousel-btn:hover { background: var(--brand); border-color: var(--brand-light); transform: translateY(-50%) scale(1.1); }
.carousel-btn--prev { left: 28px; }
.carousel-btn--next { right: 28px; }

/* Dots */
.carousel-dots {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer;
  transition: var(--transition); padding: 0;
}
.carousel-dot.active {
  background: var(--brand-light); width: 30px; border-radius: 5px;
  box-shadow: 0 0 10px rgba(58,143,212,0.5);
}

/* Counter */
.carousel-counter {
  position: absolute; bottom: 38px; right: 40px; z-index: 10;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700;
}
#carouselCurrent { color: var(--brand-light); font-size: 22px; }
.counter-sep, .counter-total { color: rgba(255,255,255,0.3); }

/* ─── Stats Bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  padding: 40px 0;
  background: rgba(8,66,140,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.stats-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stat-item  { text-align: center; padding: 10px 48px; }
.stat-number {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }

/* ─── Services Grid ──────────────────────────────────────────────────────────── */
.services-section { background: var(--section-glass); backdrop-filter: var(--card-blur); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2px; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden;
}
.service-card {
  background: var(--bg-card); padding: 36px;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover { background: var(--bg-card-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(8,66,140,0.1); border: 1px solid rgba(8,66,140,0.2);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--transition);
}
.service-icon i { width: 24px; height: 24px; color: var(--brand-light); }
.service-card:hover .service-icon { background: rgba(8,66,140,0.2); border-color: rgba(58,143,212,0.4); }
.service-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.service-features li svg { color: var(--accent-green); flex-shrink: 0; }
.service-link { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-light); transition: var(--transition); }
.service-link:hover { gap: 10px; }

/* ─── Featured Projects ──────────────────────────────────────────────────────── */
.featured-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 20px; min-height: 520px;
}
.project-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.project-card.project-card--large { grid-row: span 2; }
.project-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-img-wrap { flex: 1; overflow: hidden; position: relative; min-height: 180px; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-img-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: var(--bg-secondary); display: flex; align-items: center; justify-content: center;
}
.project-img-placeholder i { width: 40px; height: 40px; color: var(--text-muted); }
.project-overlay { position: absolute; top: 14px; left: 14px; }
.project-category {
  background: rgba(6,9,15,0.8); backdrop-filter: blur(8px);
  color: var(--brand-light); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; padding: 4px 10px; border-radius: 100px;
  border: 1px solid rgba(8,66,140,0.4);
}
.project-info { padding: 22px; }
.project-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.project-client { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.project-tag { font-size: 11px; color: var(--text-muted); background: var(--bg-secondary); padding: 3px 8px; border-radius: 100px; border: 1px solid var(--border); }
.project-arrow {
  position: absolute; bottom: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8); transition: var(--transition);
}
.project-card:hover .project-arrow { opacity: 1; transform: scale(1); }
.project-arrow svg { color: white; }
.section-cta { text-align: center; margin-top: 44px; }

/* ─── Partners ───────────────────────────────────────────────────────────────── */
.partners-section { background: var(--section-glass); backdrop-filter: var(--card-blur); overflow: hidden; }
.partners-track-wrap {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partners-track {
  display: flex; align-items: center; gap: 48px;
  animation: scroll-x 28s linear infinite; width: max-content;
}
@keyframes scroll-x { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.partners-track:hover { animation-play-state: paused; }
.partner-logo { flex-shrink: 0; padding: 0 8px; opacity: 0.5; transition: var(--transition); }
.partner-logo:hover { opacity: 1; }
.partner-name-badge {
  font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--text-muted); white-space: nowrap; letter-spacing: -0.02em;
}

/* ─── Why Section ────────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-lead { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.why-points { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.why-point { display: flex; gap: 18px; }
.why-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(8,66,140,0.1); border: 1px solid rgba(8,66,140,0.2);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
}
.why-icon i { width: 20px; height: 20px; color: var(--brand-light); }
.why-point h4 { font-weight: 700; margin-bottom: 4px; }
.why-point p  { font-size: 14px; color: var(--text-muted); }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px; margin-bottom: 18px;
  backdrop-filter: var(--card-blur);
}
.quote-mark { font-size: 60px; line-height: 0.5; color: var(--brand); margin-bottom: 14px; display: block; font-family: Georgia, serif; }
blockquote { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: white; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-weight: 600; margin-bottom: 2px; }
.testimonial-author span  { font-size: 13px; color: var(--text-muted); }
.why-metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why-metric {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px; text-align: center;
  backdrop-filter: var(--card-blur);
}
.wm-num { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 800; color: var(--brand-light); }
.wm-lbl { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ─── CTA Banner ─────────────────────────────────────────────────────────────── */
.cta-banner { padding: 88px 0; }
.cta-inner {
  position: relative;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0a2a5a 50%, #062044 100%);
  border: 1px solid rgba(8,66,140,0.4); border-radius: var(--radius-xl);
  padding: 80px 60px; text-align: center; overflow: hidden;
}
.cta-glow {
  position: absolute; inset: -80px;
  background: radial-gradient(circle at 50% 50%, rgba(8,66,140,0.25), transparent 60%);
  pointer-events: none;
}
.cta-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.cta-sub   { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── Page Hero ──────────────────────────────────────────────────────────────── */
.page-hero {
  position: relative; padding: 160px 0 80px;
  text-align: center; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow-1 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,66,140,0.18), transparent 70%);
  top: -100px; right: -100px;
}
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.1), transparent 70%);
  bottom: 0; left: 10%;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.page-hero-wave svg { width: 100%; height: 60px; }
.page-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5.5vw, 62px); font-weight: 800; line-height: 1.1; margin-bottom: 18px;
}
.page-hero-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.page-hero--short { padding: 140px 0 60px; }

/* ─── Projects Page ──────────────────────────────────────────────────────────── */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); border: 1px solid transparent; transition: var(--transition);
}
.filter-tab:hover { color: var(--text-primary); border-color: var(--border); }
.filter-tab.active { color: white; background: var(--brand); border-color: var(--brand); box-shadow: 0 4px 16px rgba(8,66,140,0.3); }
.filter-tab svg { width: 14px; height: 14px; }
.filter-search { flex-shrink: 0; }
.search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 16px; transition: var(--transition);
}
.search-wrap:focus-within { border-color: var(--brand); }
.search-wrap svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-wrap input { background: none; border: none; outline: none; color: var(--text-primary); font-size: 14px; width: 200px; }
.search-clear { color: var(--text-muted); display: flex; align-items: center; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 22px; }
.project-card-full {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--transition);
}
.project-card-full:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcf-image { position: relative; height: 220px; overflow: hidden; }
.pcf-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.project-card-full:hover .pcf-image img { transform: scale(1.05); }
.pcf-placeholder { width: 100%; height: 100%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; }
.pcf-placeholder i { width: 40px; height: 40px; color: var(--text-muted); }
.pcf-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(6,9,15,0.85); backdrop-filter: blur(8px);
  color: var(--brand-light); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; padding: 4px 10px; border-radius: 100px;
  border: 1px solid rgba(8,66,140,0.35); text-transform: uppercase;
}
.pcf-featured {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 4px;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
  color: var(--accent-orange); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.pcf-body { padding: 22px; flex: 1; }
.pcf-title  { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pcf-client { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.pcf-client svg { width: 14px; height: 14px; }
.pcf-desc   { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.pcf-tags   { display: flex; gap: 6px; flex-wrap: wrap; }
.pcf-tag    { font-size: 11px; color: var(--text-muted); background: var(--bg-secondary); padding: 3px 8px; border-radius: 100px; border: 1px solid var(--border); }
.pcf-tag--more { background: rgba(8,66,140,0.1); color: var(--brand-light); border-color: rgba(8,66,140,0.2); }
.pcf-footer { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.pcf-date   { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.pcf-date svg { width: 12px; height: 12px; }
.pcf-arrow  { color: var(--brand-light); transition: transform var(--transition); }
.project-card-full:hover .pcf-arrow { transform: translate(4px,-4px); }
.pcf-arrow svg { width: 18px; height: 18px; }

/* ─── Project Detail ─────────────────────────────────────────────────────────── */
.breadcrumb-bar { padding: 100px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb svg { width: 14px; height: 14px; }
.project-hero { padding: 40px 0 80px; }
.project-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.project-meta-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.project-cat-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-light); background: rgba(8,66,140,0.1);
  border: 1px solid rgba(8,66,140,0.2); padding: 5px 12px; border-radius: 100px;
}
.project-featured-badge {
  display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
  color: var(--accent-orange); background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2); padding: 5px 12px; border-radius: 100px;
}
.project-hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px,4vw,46px); font-weight: 800; margin-bottom: 18px; line-height: 1.1; }
.project-hero-desc  { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.project-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.pd-item { display: flex; align-items: flex-start; gap: 12px; }
.pd-item > svg { width: 18px; height: 18px; color: var(--brand-light); margin-top: 3px; flex-shrink: 0; }
.pd-item > i   { width: 18px; height: 18px; color: var(--brand-light); margin-top: 3px; flex-shrink: 0; }
.pd-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 3px; }
.pd-value { font-size: 14px; font-weight: 600; }
.project-tech-stack { margin-bottom: 26px; }
.project-tech-stack h4 { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.tech-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-tag { font-size: 12px; font-weight: 600; color: var(--brand-light); background: rgba(8,66,140,0.1); border: 1px solid rgba(8,66,140,0.2); padding: 5px 12px; border-radius: 100px; }
.project-links { display: flex; gap: 12px; flex-wrap: wrap; }
.project-hero-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.project-hero-image img { width: 100%; height: 420px; object-fit: cover; }
.project-img-ph { width: 100%; height: 420px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; }
.project-img-ph i { width: 60px; height: 60px; color: var(--text-muted); }
.project-gallery-section { background: var(--section-glass); }
.gallery-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.project-gallery { columns: 3; gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { width: 32px; height: 32px; color: white; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; pointer-events: none; transition: var(--transition); }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); color: white; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-close i { width: 20px; height: 20px; }
.related-section { }
.related-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ─── Contact ────────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: flex-start; }
.form-title    { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.form-subtitle { color: var(--text-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 11px 14px; transition: var(--transition);
}
.input-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,66,140,0.12); }
.input-wrap i, .input-wrap svg { width: 17px; height: 17px; color: var(--text-muted); flex-shrink: 0; }
.input-wrap input, .input-wrap select { background: none; border: none; outline: none; color: var(--text-primary); font-size: 14px; flex: 1; width: 0; }
.input-wrap select { width: auto; flex: 1; }
.input-wrap select option { background: var(--bg-card); }
.input-wrap input::placeholder { color: var(--text-muted); }
textarea { width: 100%; padding: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 14px; line-height: 1.6; resize: vertical; transition: var(--transition); outline: none; }
textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,66,140,0.12); }
textarea::placeholder { color: var(--text-muted); }
.form-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.form-note i { width: 14px; height: 14px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.contact-info-card--dark { background: var(--bg-secondary); }
.contact-info-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.contact-info-items { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; align-items: flex-start; gap: 12px; }
.ci-icon { width: 36px; height: 36px; flex-shrink: 0; background: rgba(8,66,140,0.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.ci-icon i { width: 15px; height: 15px; color: var(--brand-light); }
.ci-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 3px; }
.ci-value { font-size: 14px; font-weight: 600; }
.service-quick-list { display: flex; flex-direction: column; gap: 2px; }
.sqli { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.sqli:hover { background: rgba(8,66,140,0.08); color: var(--brand-light); }
.sqli i { width: 15px; height: 15px; color: var(--brand-light); flex-shrink: 0; }
.sqli span { flex: 1; }
.sqli svg { width: 14px; height: 14px; color: var(--text-muted); }
.social-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.social-btn:hover { border-color: var(--brand); color: var(--brand-light); }
.social-btn i { width: 15px; height: 15px; }

/* ─── About ──────────────────────────────────────────────────────────────────── */
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mission-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.mission-card:hover { border-color: var(--border-hover); }
.mission-card--accent { border-color: rgba(8,66,140,0.35); background: rgba(8,66,140,0.05); }
.mission-icon { width: 50px; height: 50px; background: rgba(8,66,140,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mission-icon i { width: 22px; height: 22px; color: var(--brand-light); }
.mission-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.mission-card p { color: var(--text-secondary); line-height: 1.7; font-size: 14px; }
.values-list { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; }
.values-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.values-list li i { width: 15px; height: 15px; color: var(--accent-green); flex-shrink: 0; }
.services-detail-section { background: var(--section-glass); }
.service-detail-list { display: flex; flex-direction: column; }
.sd-item { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 44px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.sd-item:last-child { border-bottom: none; }
.sd-num { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 900; color: rgba(8,66,140,0.18); line-height: 1; padding-top: 6px; }
.sd-content { display: flex; gap: 24px; align-items: flex-start; }
.sd-icon { width: 50px; height: 50px; flex-shrink: 0; background: rgba(8,66,140,0.1); border: 1px solid rgba(8,66,140,0.2); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.sd-icon i { width: 22px; height: 22px; color: var(--brand-light); }
.sd-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.sd-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; font-size: 14px; }
.sd-brands { display: flex; gap: 8px; flex-wrap: wrap; }
.sd-brands span { font-size: 11px; font-weight: 700; color: var(--brand-light); background: rgba(8,66,140,0.08); border: 1px solid rgba(8,66,140,0.2); padding: 4px 12px; border-radius: 100px; }
.timeline-section { background: var(--section-glass); }
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 90px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--brand), var(--brand-light)); }
.timeline-item { display: flex; gap: 28px; margin-bottom: 44px; position: relative; align-items: flex-start; }
.timeline-year { width: 80px; flex-shrink: 0; text-align: right; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: var(--brand-light); padding-top: 4px; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid var(--bg-secondary); flex-shrink: 0; margin-top: 6px; position: relative; z-index: 1; box-shadow: 0 0 10px var(--brand); }
.timeline-content { flex: 1; }
.timeline-content h4 { font-weight: 700; margin-bottom: 6px; }
.timeline-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.team-section { }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 22px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.team-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.team-photo-wrap { height: 230px; overflow: hidden; }
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.team-card:hover .team-photo-wrap img { transform: scale(1.05); }
.team-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand-dark), var(--brand-light)); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 800; color: white; }
.team-info { padding: 22px; }
.team-name { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 12px; color: var(--brand-light); font-weight: 600; margin-bottom: 10px; }
.team-bio  { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.team-socials { display: flex; gap: 8px; }
.team-socials a { width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--bg-secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.team-socials a:hover { border-color: var(--brand); }
.team-socials a i { width: 13px; height: 13px; color: var(--text-muted); }
.certs-section { background: var(--section-glass); }
.certs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cert-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: var(--transition); }
.cert-card:hover { border-color: var(--border-hover); }
.cert-card i { width: 26px; height: 26px; color: var(--brand-light); }
.cert-card h4 { font-weight: 700; font-size: 15px; }
.cert-card p  { font-size: 13px; color: var(--text-muted); }
.highlights-section { background: var(--section-glass); }
.highlights-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.highlight-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: var(--transition); position: relative; overflow: hidden; }
.highlight-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--brand); }
.highlight-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.hc-icon { width: 46px; height: 46px; border-radius: var(--radius-md); background: rgba(8,66,140,0.1); border: 1px solid rgba(8,66,140,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hc-icon i { width: 20px; height: 20px; color: var(--brand-light); }
.highlight-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.highlight-card p  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.hc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.hc-tags span { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg-secondary); padding: 3px 8px; border-radius: 100px; border: 1px solid var(--border); }
.hc-link { font-size: 13px; font-weight: 600; color: var(--brand-light); transition: var(--transition); }

/* ─── Alerts ─────────────────────────────────────────────────────────────────── */
.alert { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--radius-md); margin-bottom: 22px; font-size: 14px; font-weight: 500; }
.alert i { width: 18px; height: 18px; flex-shrink: 0; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #4ade80; }
.alert-error   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--border); }
[data-theme="light"] .site-footer { color: #d0e0f0; }
.footer-top { padding: 72px 0 52px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img { height: 44px; width: auto; object-fit: contain; }
.footer-logo-text .brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: white; }
.footer-logo-text .brand-tag  { font-size: 10px; color: var(--brand-light); font-style: italic; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 34px; height: 34px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-socials a:hover { border-color: var(--brand-light); }
.footer-socials a i { width: 15px; height: 15px; color: rgba(255,255,255,0.5); }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-links a i { width: 13px; height: 13px; color: var(--brand-light); flex-shrink: 0; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-contact-list li i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--brand-light); }
.footer-contact-list a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── Site BG ────────────────────────────────────────────────────────────────── */
body:not(.admin-body):not(.login-body) { background-color: var(--bg-primary); }
.site-bg-wrapper {
  position: fixed; inset: 0; z-index: -2;
  background-image: url('/images/cctv-bg.svg');
  background-size: cover; background-position: center;
  background-repeat: no-repeat; background-attachment: fixed;
  filter: blur(2px) brightness(0.3) saturate(0.6); transform: scale(1.04);
  transition: filter 0.4s ease;
}
[data-theme="light"] .site-bg-wrapper { filter: blur(3px) brightness(0.85) saturate(0.3) opacity(0.25); }
.site-bg-overlay {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(6,9,15,0.85) 0%, rgba(8,42,90,0.70) 50%, rgba(6,9,15,0.88) 100%);
  transition: background 0.4s ease;
}
[data-theme="light"] .site-bg-overlay { background: linear-gradient(160deg, rgba(240,244,250,0.88) 0%, rgba(200,220,245,0.75) 50%, rgba(240,244,250,0.88) 100%); }
.main-content { min-height: 100vh; }
.stats-bar, .services-section, .timeline-section, .services-detail-section, .certs-section, .highlights-section, .partners-section, .project-gallery-section { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-footer { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* ─── THEME TOGGLE FAB ───────────────────────────────────────────────────────── */
.theme-toggle-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 2000;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  background: rgba(8,66,140,0.18);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(58,143,212,0.28);
  border-radius: 100px; box-shadow: 0 8px 32px rgba(8,66,140,0.3), 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  user-select: none;
}
[data-theme="light"] .theme-toggle-fab {
  background: rgba(255,255,255,0.55);
  border-color: rgba(8,66,140,0.2);
  box-shadow: 0 8px 32px rgba(8,66,140,0.15), 0 2px 8px rgba(0,0,0,0.1);
}
.theme-toggle-fab:hover { transform: scale(1.06); box-shadow: 0 12px 40px rgba(8,66,140,0.45), 0 2px 8px rgba(0,0,0,0.3); }
.fab-track {
  width: 40px; height: 22px; border-radius: 11px;
  background: rgba(8,66,140,0.35); border: 1px solid rgba(58,143,212,0.3);
  position: relative; transition: background 0.3s ease;
  flex-shrink: 0;
}
[data-theme="light"] .fab-track { background: var(--brand); border-color: var(--brand); }
.fab-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(58,143,212,0.7);
  position: absolute; top: 2px; left: 2px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
[data-theme="light"] .fab-thumb { transform: translateX(18px); background: white; }
.fab-icon-dark, .fab-icon-light { font-size: 15px; line-height: 1; flex-shrink: 0; transition: opacity 0.2s ease; }
.fab-icon-dark  { color: rgba(255,255,255,0.7); }
.fab-icon-light { color: var(--accent-orange); }
[data-theme="dark"]  .fab-icon-light { opacity: 0.35; }
[data-theme="light"] .fab-icon-dark  { opacity: 0.35; }

/* ─── Error / 404 ────────────────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 160px 24px; }
.error-code { font-family: 'Space Grotesk', sans-serif; font-size: 120px; font-weight: 900; background: linear-gradient(135deg, var(--brand-light), var(--accent)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; margin-bottom:14px; }
.error-title { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.error-msg { color: var(--text-muted); margin-bottom: 32px; }
.empty-state { text-align: center; padding: 72px 24px; }
.empty-state i { width: 52px; height: 52px; color: var(--text-muted); margin: 0 auto 18px; }
.empty-state h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 22px; }

/* ─── Brand TZ / Suffix ──────────────────────────────────────────────────────── */
.brand-tz { color: var(--brand-light); }

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .project-card.project-card--large { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid, .culture-grid { grid-template-columns: 1fr; gap: 44px; }
  .project-hero-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navbar-bg); border-bottom: 1px solid var(--border);
    padding: 14px 20px; gap: 2px;
  }
  .section { padding: 60px 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 48px 24px; }
  .timeline::before { left: 48px; }
  .timeline-year { width: 38px; font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .carousel-btn--prev { left: 12px; }
  .carousel-btn--next { right: 12px; }
  .slide-title { font-size: clamp(30px, 8vw, 48px); }
  .highlights-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stat-item { padding: 10px 20px; }
  .brand-tag { display: none; }
  .sd-item { grid-template-columns: 1fr; }
  .sd-content { flex-direction: column; }
}
