/* ==========================================================================
   TORUS INVESTMENTS UGANDA LIMITED - SOFT LUXURY & CLASSIC ARCHITECTURAL SYSTEM
   ========================================================================== */

:root {
  color-scheme: dark;
  /* Dark Theme: Soft Corporate Palette (#006766 Teal, Deep Charcoal, Muted Soft Slate) */
  --color-primary: #006766;
  --color-primary-dark: #004d4c;
  --color-primary-light: #007c7a;
  --color-primary-accent: #006766;
  --color-primary-glow: transparent;
  
  /* Brand accent */
  --color-gold: #006766;
  --color-gold-light: #007c7a;
  --color-gold-dark: #004d4c;
  --color-gold-gradient: #006766;
  --color-gold-soft: rgba(0, 103, 102, 0.1);
  --color-gold-glow: transparent;

  /* Brick / Construction Button Palette - Soft Solid Brick */
  --color-brick: #b5542a;
  --color-brick-dark: #99431f;
  --color-brick-light: #c66236;
  --color-brick-mortar: #e5dac9;
  --color-brick-gradient: #b5542a;
  
  --color-bg-dark: #0d1419;
  --color-bg-card: rgba(18, 28, 35, 0.85);
  --color-bg-card-hover: #16222b;
  --color-bg-card-solid: #121c23;
  --color-bg-surface: #0f181f;
  --color-bg-surface-subtle: rgba(255, 255, 255, 0.02);
  
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-gold: rgba(0, 103, 102, 0.25);
  --color-border-teal: rgba(0, 103, 102, 0.2);

  --color-header-bg: rgba(13, 20, 25, 0.92);
  --color-header-scrolled: #0d1419;
  --color-topbar-bg: #004d4c;

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Soft Elevations & Clean Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 16px rgba(0, 103, 102, 0.15);
  --shadow-teal: 0 4px 16px rgba(0, 103, 102, 0.15);

  /* Soft Rounded Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --header-height: 80px;
  --header-height-shrink: 66px;
}

/* ==========================================================================
   LIGHT THEME: Clean Alabaster, Brand Teal #006766 & White
   ========================================================================== */
[data-theme="light"] {
  color-scheme: light;
  --color-bg-dark: #f8f9fa;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #f1f5f9;
  --color-bg-card-solid: #ffffff;
  --color-bg-surface: #f1f5f9;
  --color-bg-surface-subtle: rgba(0, 103, 102, 0.03);
  
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-gold: rgba(0, 103, 102, 0.2);
  --color-border-teal: rgba(0, 103, 102, 0.15);

  --color-header-bg: rgba(255, 255, 255, 0.95);
  --color-header-scrolled: #ffffff;
  --color-topbar-bg: #004d4c;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 4px 16px rgba(0, 103, 102, 0.1);
  --shadow-teal: 0 4px 16px rgba(0, 103, 102, 0.1);
}

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

button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* High-Definition Sharpness & Hardware-Accelerated Image Filtering */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Soft Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Ambient Glowing Background Orbs */
.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 10% 15%, rgba(0, 103, 102, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(0, 103, 102, 0.04) 0%, transparent 45%);
  opacity: 0.5;
}

[data-theme="light"] .ambient-glow-mesh {
  background: 
    radial-gradient(circle at 10% 15%, rgba(0, 103, 102, 0.04) 0%, transparent 45%);
  opacity: 0.4;
}

/* Mouse Follower Glow Spotlight */
.cursor-spotlight {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 103, 102, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 2;
}

.container-wide {
  max-width: 1440px;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-text-primary);
  letter-spacing: -0.025em;
}

.text-gold {
  color: var(--color-gold);
}

.text-gold-gradient {
  color: #ffffff;
  display: inline-block;
}

[data-theme="light"] .text-gold-gradient {
  color: #ffffff;
}

.text-teal {
  color: var(--color-primary-accent);
}

[data-theme="light"] .text-teal {
  color: #0e6d75;
}

/* Soft Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(0, 103, 102, 0.35);
  border: 1px solid var(--color-border-teal);
  color: var(--color-primary-accent);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .badge-tag {
  background: rgba(0, 103, 102, 0.08);
  color: #006766;
  border-color: rgba(0, 103, 102, 0.18);
}

.badge-gold {
  background: rgba(0, 103, 102, 0.14);
  border-color: var(--color-border-gold);
  color: var(--color-gold-light);
}

[data-theme="light"] .badge-gold {
  background: rgba(0, 103, 102, 0.12);
  border-color: rgba(180, 140, 30, 0.3);
  color: #006766;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem auto;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   PREMIUM LUXURY BUTTONS — RICH SHIMMER, GLOW & DEPTH
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

/* Active press depth */
.btn:active {
  transform: translateY(1px) scale(0.98) !important;
  transition-duration: 0.08s;
}

/* ---- PRIMARY (Solid Corporate Brick) ---- */
.btn-primary {
  background: #b5542a;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #99431f;
  box-shadow: 0 2px 6px rgba(181, 84, 42, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #a0451f;
  box-shadow: 0 4px 12px rgba(181, 84, 42, 0.3);
}

/* ---- TEAL (Brand #006766 — flat) ---- */
.btn-teal {
  background: #006766;
  color: #ffffff;
  border: 1px solid rgba(0, 103, 102, 0.3);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 103, 102, 0.2);
}

.btn-teal:hover {
  transform: translateY(-1px);
  background: #008a88;
  box-shadow: 0 4px 14px rgba(0, 103, 102, 0.3);
}

/* ---- OUTLINE (Clean border) ---- */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-primary);
  border-radius: 5px;
  box-shadow: none;
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  border-color: rgba(0, 103, 102, 0.15);
  color: #006766;
}

.btn-outline:hover {
  background: rgba(0, 103, 102, 0.08);
  border-color: #006766;
  color: #006766;
  transform: translateY(-1px);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 103, 102, 0.05);
  border-color: #006766;
  color: #004544;
}

/* ---- SIZE VARIANTS ---- */
.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   NAVIGATION & FLOATING HEADER
   ========================================================================== */

.top-announcement-bar {
  background: var(--color-topbar-bg);
  padding: 0.5rem 1.5rem;
  font-size: 0.825rem;
  color: #f1f5f9;
  position: relative;
  z-index: 1001;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-info-item:hover {
  color: var(--color-gold-light);
}

.top-info-item i {
  color: var(--color-primary-accent);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: height var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), border var(--transition-normal);
}

.site-header.scrolled {
  height: var(--header-height-shrink);
  background: var(--color-header-scrolled);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--color-border-gold);
}

[data-theme="light"] .site-header.scrolled {
  box-shadow: 0 10px 30px -5px rgba(0, 103, 102, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  height: 52px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

[data-theme="light"] .nav-menu {
  background: rgba(0, 103, 102, 0.04);
}

.nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #070c10;
  background: var(--color-gold-gradient);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 103, 102, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 103, 102, 0.08);
  border-color: rgba(0, 103, 102, 0.15);
  color: #006766;
}

.theme-toggle-btn:hover {
  background: rgba(0, 103, 102, 0.18);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: rotate(15deg);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 380px);
  height: 100vh;
  background: var(--color-bg-card-solid);
  border-left: 1px solid var(--color-border-teal);
  z-index: 2000;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.8);
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-gold);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.925rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
}

.floating-whatsapp-widget:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.floating-whatsapp-widget i {
  font-size: 1.45rem;
}

@media (max-width: 480px) {
  .floating-whatsapp-widget span {
    display: none;
  }
  .floating-whatsapp-widget {
    padding: 0.95rem;
    border-radius: 50%;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.1);
  transition: transform 12s ease-out;
}

[data-theme="light"] .hero-slide-image {
  filter: brightness(0.75) contrast(1.08);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 25, 0.7);
}

[data-theme="light"] .hero-overlay-gradient {
  background: rgba(15, 23, 42, 0.65);
}

/* Helionix Inspired Glassmorphic Hero Layout */
.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}

.hero-main-card {
  background: rgba(13, 20, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .hero-main-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 103, 102, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-card-title {
  color: #ffffff;
  text-shadow: none;
}

[data-theme="light"] .hero-card-desc {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .hero-card-pill {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

[data-theme="light"] .pulse-dot {
  background-color: #ffffff;
}

[data-theme="light"] .pulse-dot::after {
  background-color: #ffffff;
}

[data-theme="light"] .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(8, 13, 18, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 103, 102, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: #33aca9;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #33aca9;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  background-color: #33aca9;
  border-radius: 50%;
  opacity: 0.6;
  animation: pulseRing 2s infinite;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.hero-card-desc {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: rgba(248, 250, 252, 0.95);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-card-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #b5542a;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(181, 84, 42, 0.25);
  transition: all 0.2s ease;
  border: 1px solid #99431f;
}

.btn-hero-primary:hover {
  transform: translateY(-1px);
  background: #a0451f;
  box-shadow: 0 4px 12px rgba(181, 84, 42, 0.35);
  color: #ffffff !important;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-floating-stat-card {
  justify-self: end;
  align-self: center;
  background: rgba(13, 20, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  max-width: 340px;
  width: 100%;
  transition: transform var(--transition-normal);
}

[data-theme="light"] .hero-floating-stat-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 103, 102, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-card-number {
  color: #ffffff;
}

[data-theme="light"] .stat-card-label {
  color: rgba(255, 255, 255, 0.9);
}

.hero-floating-stat-card:hover {
  transform: translateY(-6px);
}

.stat-card-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-card-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.stat-card-avatars {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #0d171e;
  margin-left: -12px;
  object-fit: cover;
  background: var(--color-primary);
}

.avatar-img:first-child {
  margin-left: 0;
}

.avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0d171e;
  margin-left: -12px;
  box-shadow: 0 4px 12px rgba(0, 103, 102, 0.4);
}

@media (max-width: 992px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-floating-stat-card {
    justify-self: start;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-main-card {
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }
  .hero-card-actions {
    flex-direction: column;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: rgba(13, 20, 25, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .hero-metrics-bar {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 103, 102, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.metric-item {
  border-right: 1px solid var(--color-border);
  padding-right: 1rem;
}

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

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

[data-theme="light"] .metric-number {
  color: #ffffff;
}

[data-theme="light"] .metric-label {
  color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .metric-sub {
  color: rgba(255, 255, 255, 0.8);
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-sub {
  font-size: 0.775rem;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER COMPONENT
   ========================================================================== */

.before-after-section {
  padding: 8rem 0;
  position: relative;
}

/* Gold Section Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  position: relative;
  z-index: 2;
}

[data-theme="light"] .section-divider {
  background: var(--color-border);
}

.comparison-slider-container {
  position: relative;
  width: 100%;
  max-width: 1060px;
  height: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  user-select: none;
}

.comparison-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-after-layer {
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid var(--color-gold);
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--color-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070c10;
  font-size: 1.2rem;
  z-index: 5;
  cursor: ew-resize;
  box-shadow: 0 0 25px rgba(0, 103, 102, 0.7);
}

.comparison-label {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(8, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  z-index: 4;
}

.label-before {
  right: 1.5rem;
  border: 1px solid var(--color-border-teal);
  color: #33aca9;
}

.label-after {
  left: 1.5rem;
  border: 1px solid var(--color-border-gold);
  color: var(--color-gold-light);
}

@media (max-width: 768px) {
  .comparison-slider-container {
    height: 360px;
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  padding: 9rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5.5rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-teal);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 520px;
}

.about-floating-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--color-bg-card-solid);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-gold);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  max-width: 290px;
}

.about-floating-card .gold-icon {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.about-pillars-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: pillar-counter;
}

.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  counter-increment: pillar-counter;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pillar-card::before {
  content: '0' counter(pillar-counter);
  position: absolute;
  top: -12px;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 103, 102, 0.2);
  letter-spacing: -0.04em;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.pillar-card:hover::before {
  -webkit-text-stroke: 1px rgba(0, 103, 102, 0.5);
  color: rgba(0, 103, 102, 0.06);
  transform: scale(1.1);
}

.pillar-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0, 103, 102, 0.08);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 103, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-accent);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
  background: rgba(0, 103, 102, 0.18);
  color: var(--color-gold);
  border: 1px solid var(--color-border-gold);
  transform: scale(1.1);
}

[data-theme="light"] .pillar-icon {
  background: rgba(0, 103, 102, 0.1);
  color: #006766;
}

.pillar-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 9rem 0;
  background: var(--color-bg-surface);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.75rem;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-card-hover);
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 103, 102, 0.4);
  border: 1px solid var(--color-border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.75rem;
  transition: transform var(--transition-fast);
}

[data-theme="light"] .service-icon-box {
  background: rgba(0, 103, 102, 0.08);
  border-color: rgba(0, 103, 102, 0.2);
  color: #006766;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(6deg);
  background: rgba(0, 103, 102, 0.18);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.service-badge {
  font-size: 0.775rem;
  font-family: var(--font-mono);
  color: var(--color-primary-accent);
  padding: 0.3rem 0.75rem;
  background: rgba(45, 212, 191, 0.1);
  border-radius: var(--radius-full);
}

[data-theme="light"] .service-badge {
  color: #006766;
  background: rgba(0, 103, 102, 0.08);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-features li i {
  color: var(--color-primary-accent);
  font-size: 0.8rem;
}

[data-theme="light"] .service-features li i {
  color: #006766;
}

.service-card-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-link-btn {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}

[data-theme="light"] .service-link-btn {
  color: #006766;
}

.service-card:hover .service-link-btn {
  gap: 0.85rem;
  color: var(--color-gold);
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-section {
  padding: 9rem 0;
  position: relative;
}

.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: rgba(16, 26, 33, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.04) inset,
    0 3px 10px -3px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

[data-theme="light"] .filter-btn {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 103, 102, 0.1);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.8) inset,
    0 3px 10px -3px rgba(0, 103, 102, 0.06);
}

.filter-btn:hover {
  background: rgba(0, 103, 102, 0.2);
  color: var(--color-text-primary);
  border-color: rgba(51, 172, 169, 0.3);
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 1px 0 0 rgba(51, 172, 169, 0.1) inset,
    0 10px 25px -6px rgba(0, 0, 0, 0.3),
    0 0 30px -8px rgba(51, 172, 169, 0.12);
}

.filter-btn.active {
  background: #006766;
  color: #ffffff;
  border-color: #006766;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 103, 102, 0.2);
}

/* Bento Grid — first card spans 2 columns */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-card-featured {
  grid-column: span 2;
}

.project-card-featured .project-media-wrap {
  height: 360px;
}

.project-card-featured .project-title {
  font-size: 1.6rem;
}

.project-card-featured .project-meta-bar {
  padding: 1rem 1.75rem;
}

/* Card base */
.project-card {
  background: var(--color-bg-card-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* Image area */
.project-media-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #000;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform var(--transition-slow), filter var(--transition-normal);
  filter: contrast(1.03) brightness(1.02) saturate(1.03);
}

.project-card:hover .project-img {
  transform: scale(1.05) translateZ(0);
  filter: contrast(1.06) brightness(1.03) saturate(1.05);
}

/* Project Card Auto-Slideshow */
.project-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  opacity: 0;
  transition: opacity 0.8s ease, filter var(--transition-normal);
  filter: contrast(1.03) brightness(1.02) saturate(1.03);
  z-index: 0;
}

.project-slide-img.active {
  opacity: 1;
  z-index: 1;
}

.project-slide-dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.35s ease;
  cursor: pointer;
}

.slide-dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(0, 103, 102, 0.5);
}

.project-gallery-count {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-gallery-count i {
  color: var(--color-gold-light);
  font-size: 0.65rem;
}

/* When featured ribbon exists, push gallery count below it */
.project-featured-ribbon ~ .project-gallery-count {
  top: auto;
  bottom: 2.5rem;
  right: 0.85rem;
}

/* Status badge — top left */
.project-status-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(12px);
  z-index: 2;
}

.status-completed {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

.status-ongoing {
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
}

/* Featured ribbon — top right */
.project-featured-ribbon {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 103, 102, 0.92);
  color: #070c10;
  backdrop-filter: blur(12px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Metadata bar — below image, above body */
.project-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(0, 103, 102, 0.08);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  gap: 0.5rem;
}

[data-theme="light"] .project-meta-bar {
  background: rgba(0, 103, 102, 0.04);
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  min-width: 0;
}

.project-meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
  white-space: nowrap;
}

.project-meta-value {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.project-meta-value.cost-figure {
  font-family: var(--font-mono);
  color: var(--color-gold-light);
  font-weight: 800;
}

.project-meta-category {
  color: var(--color-primary-accent);
  font-size: 0.75rem;
}

[data-theme="light"] .project-meta-category {
  color: #006766;
}

.project-meta-divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Card body */
.project-body {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-primary-accent);
  margin-bottom: 0.75rem;
}

[data-theme="light"] .project-location {
  color: #006766;
  font-weight: 600;
}

.project-brief {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.project-view-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}

.project-card:hover .project-view-cta {
  gap: 0.7rem;
}

[data-theme="light"] .project-view-cta {
  color: #006766;
}

/* Legacy overlay — keep for projects page */
.project-category-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(14, 23, 29, 0.88);
  border: 1px solid var(--color-border-teal);
  color: var(--color-primary-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  z-index: 2;
}

.project-cost-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 13, 18, 0.85);
  padding: 1.25rem 1.5rem 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cost-figure {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

/* ==========================================================================
   ESTIMATOR SECTION
   ========================================================================== */

.estimator-section {
  padding: 9rem 0;
  background: var(--color-bg-surface);
  position: relative;
}

.estimator-card {
  background: var(--color-bg-card-solid);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.estimator-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-theme="light"] .estimator-group-title {
  color: #006766;
}

.calc-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.calc-type-btn {
  background: var(--color-bg-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.85rem;
  text-align: center;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.calc-type-btn i {
  font-size: 1.6rem;
  color: var(--color-primary-accent);
}

[data-theme="light"] .calc-type-btn i {
  color: #006766;
}

.calc-type-btn.selected {
  background: rgba(0, 103, 102, 0.4);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(0, 103, 102, 0.3);
}

[data-theme="light"] .calc-type-btn.selected {
  background: rgba(0, 103, 102, 0.08);
  border-color: #b48c1e;
}

.calc-type-btn.selected i {
  color: var(--color-gold);
}

.range-slider-wrap {
  margin-top: 0.5rem;
}

.range-slider {
  width: 100%;
  height: 10px;
  background: rgba(128, 128, 128, 0.2);
  border-radius: var(--radius-full);
  outline: none;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.6rem;
}

.addons-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.addon-checkbox-label {
  background: var(--color-bg-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.addon-checkbox-label:hover {
  background: rgba(0, 103, 102, 0.1);
  border-color: var(--color-border-teal);
  transform: translateY(-2px);
}

.addon-checkbox-label input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 18px;
  height: 18px;
}

/* Estimator Results Column */
.estimator-results-box {
  background: #0f2226;
  border: 1px solid var(--color-border-teal);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

[data-theme="light"] .estimator-results-box {
  background: #006766;
  color: #ffffff;
}

.result-badge {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #33aca9;
  letter-spacing: 0.08em;
}

.estimate-price-ugx {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 900;
  color: var(--color-gold-light);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.estimate-price-usd {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.estimator-breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.breakdown-row span:last-child {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */

.faq-section {
  padding: 8rem 0;
  position: relative;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--color-gold);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

/* ==========================================================================
   MILESTONES TABS
   ========================================================================== */

.milestones-section {
  padding: 8rem 0;
  background: var(--color-bg-surface);
}

.milestone-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.milestone-tab-btn {
  background: rgba(16, 26, 33, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.04) inset,
    0 3px 10px -3px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.milestone-tab-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(0, 103, 102, 0.25);
  color: var(--color-text-primary);
  border-color: rgba(51, 172, 169, 0.25);
  box-shadow:
    0 1px 0 0 rgba(51, 172, 169, 0.08) inset,
    0 10px 25px -6px rgba(0, 0, 0, 0.3);
}

.milestone-tab-btn.active {
  background: rgba(0, 103, 102, 0.45);
  border-color: rgba(0, 103, 102, 0.6);
  color: var(--color-gold-light);
  box-shadow:
    0 1px 0 0 rgba(0, 103, 102, 0.15) inset,
    0 -2px 6px 0 rgba(0, 103, 102, 0.3) inset,
    0 6px 22px -4px rgba(0, 103, 102, 0.3),
    0 0 40px -8px rgba(0, 103, 102, 0.15);
}

.milestone-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--color-bg-card-solid);
  border: 1px solid var(--color-border-teal);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.milestone-pane.active {
  display: grid;
}

@media (max-width: 768px) {
  .milestone-pane {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CREDENTIALS SECTION
   ========================================================================== */

.credentials-section {
  padding: 9rem 0;
  background: var(--color-bg-surface);
  position: relative;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.25rem;
}

.cert-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-gold);
}

.cert-preview-wrap {
  height: 210px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.cert-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.65rem;
  transition: transform var(--transition-fast);
}

.cert-card:hover .cert-preview-img {
  transform: scale(1.06);
}

.cert-info {
  padding: 1.75rem;
}

.cert-title {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.cert-authority {
  font-size: 0.825rem;
  color: var(--color-primary-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .cert-authority {
  color: #006766;
}

.cert-number {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--color-gold);
  background: rgba(0, 103, 102, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  display: inline-block;
}

[data-theme="light"] .cert-number {
  color: #006766;
  background: rgba(0, 103, 102, 0.15);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  padding: 9rem 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(0, 103, 102, 0.06);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 103, 102, 0.08);
}

.testimonial-card > div {
  position: relative;
  z-index: 1;
}

.quote-icon {
  font-size: 2.4rem;
  color: var(--color-gold);
  opacity: 0.4;
  margin-bottom: 1.25rem;
}

/* Star rating row */
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars i {
  color: var(--color-gold);
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.client-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.client-role {
  font-size: 0.825rem;
  color: var(--color-primary-accent);
}

[data-theme="light"] .client-role {
  color: #006766;
}

.client-project-tag {
  font-size: 0.775rem;
  color: var(--color-gold);
  display: block;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  padding: 9rem 0;
  background: var(--color-bg-surface);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--color-border-gold);
  transform: translateX(6px);
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(0, 103, 102, 0.4);
  border: 1px solid var(--color-border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.35rem;
  flex-shrink: 0;
}

[data-theme="light"] .contact-icon-box {
  background: rgba(0, 103, 102, 0.08);
  border-color: rgba(0, 103, 102, 0.2);
  color: #006766;
}

.contact-detail-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-detail-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
}

.contact-detail-val:hover {
  color: var(--color-gold);
}

/* Consultation Form */
.consultation-form-wrap {
  background: var(--color-bg-card-solid);
  border: 1px solid var(--color-border-teal);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--color-bg-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--color-bg-surface-solid);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
  cursor: pointer;
}

.form-select option, select option {
  background-color: #0d171e !important;
  color: #f8fafc !important;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
}

[data-theme="light"] .form-input, [data-theme="light"] .form-select, [data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: rgba(0, 103, 102, 0.18);
}

[data-theme="light"] .form-select {
  background-color: #ffffff;
  color: #0c181d;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e4d52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] .form-select option, [data-theme="light"] select option {
  background-color: #ffffff !important;
  color: #0c181d !important;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(0, 103, 102, 0.25);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #04070a;
  color: #f8fafc;
  border-top: none;
  padding: 0 0 2.5rem 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold-gradient);
  z-index: 2;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 172, 169, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 172, 169, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .site-footer {
  background: #06151a;
  color: #f8fafc;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 5.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-gold-gradient);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-gold-light);
  padding-left: 6px;
}

/* Footer Social Icons */
.footer-social-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background: rgba(0, 103, 102, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 103, 102, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #94a3b8;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--color-bg-card-solid);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-xl);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--shadow-gold);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-gold);
  color: #000000;
}

/* ==========================================================================
   ADVANCED INTERACTIVE MAP COMPONENT
   ========================================================================== */

.interactive-map-section {
  padding: 9rem 0;
  position: relative;
  background: var(--color-bg-surface);
}

.map-explorer-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.uganda-map-graphic-box {
  position: relative;
  background: var(--color-bg-card-solid);
  border: 1px solid var(--color-border-teal);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  height: 480px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-svg-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--color-bg-card-solid);
}

.map-pins-layer {
  position: absolute;
  inset: 0;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-core {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold-gradient);
  color: #070c10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 103, 102, 0.6);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pin-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(51, 172, 169, 0.4);
  animation: pulseRing 2s infinite;
}

.map-pin:hover .pin-core, .map-pin.active .pin-core {
  transform: scale(1.3);
  background: #33aca9;
  color: #070c10;
}

.pin-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 13, 18, 0.95);
  border: 1px solid var(--color-border-gold);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.map-pin:hover .pin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Currency Switcher Bar */
.currency-switcher-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.currency-pill-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.currency-pill-btn.active {
  background: var(--color-gold-gradient);
  color: #070c10;
  box-shadow: 0 2px 10px rgba(0, 103, 102, 0.3);
}

@media (max-width: 992px) {
  .map-explorer-layout {
    grid-template-columns: 1fr;
  }
  .uganda-map-graphic-box {
    height: 380px;
  }
}

/* ==========================================================================
   HORIZONTAL MARQUEE PROJECT FILMSTRIP
   ========================================================================== */

.marquee-showcase-section {
  padding: 3rem 0 0 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marqueeScroll 45s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  width: 380px;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.marquee-item:hover {
  border-color: var(--color-gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.marquee-item:hover img {
  transform: scale(1.08);
}

.marquee-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 18, 0.85);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.marquee-item:hover .marquee-item-overlay {
  opacity: 1;
}

.marquee-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.marquee-item-loc {
  font-size: 0.8rem;
  color: var(--color-primary-accent);
  margin-top: 0.15rem;
}

@media (max-width: 768px) {
  .marquee-item {
    width: 280px;
    height: 180px;
  }
}

/* ==========================================================================
   FULL-WIDTH CTA BANNER SECTION
   ========================================================================== */

.cta-banner-section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: #0d161c;
}

[data-theme="light"] .cta-banner-section {
  background: #006766;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-inner .badge-tag {
  margin-bottom: 1.5rem;
}

.cta-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 480px) {
  .cta-banner-actions {
    flex-direction: column;
  }
  .cta-banner-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   PARALLAX HERO IMAGE EFFECT
   ========================================================================== */

.hero-bg-media.parallax-active .hero-slide-image {
  will-change: transform;
  transition: none;
}

/* ==========================================================================
   ANONYMOUS TESTIMONIAL AVATAR ICON
   ========================================================================== */

.client-avatar-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-accent);
  font-size: 1.25rem;
}

/* ==========================================================================
   PROJECT JOURNEY INTERACTIVE SHOWCASE
   ========================================================================== */

.project-journey-section {
  padding: 5rem 0;
}

.journey-project-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold-dark) transparent;
  -webkit-overflow-scrolling: touch;
}

.journey-project-tabs::-webkit-scrollbar {
  height: 4px;
}
.journey-project-tabs::-webkit-scrollbar-track {
  background: transparent;
}
.journey-project-tabs::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 2px;
}

.journey-project-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.journey-project-tab i {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.journey-project-tab:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-gold);
  color: var(--color-text-primary);
}

.journey-project-tab:hover i {
  color: var(--color-gold);
}

.journey-project-tab.active {
  background: rgba(0, 103, 102, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: none;
}

.journey-project-tab.active i {
  color: var(--color-gold);
}

.journey-viewport {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0;
}

.journey-meta {
  padding: 1.75rem 2rem 1.25rem 2rem;
}

.journey-project-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.journey-project-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.journey-project-info span {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.journey-project-info span i {
  color: var(--color-primary-accent);
  margin-right: 0.3rem;
}

.journey-type-badge {
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--color-border-gold);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem !important;
  color: var(--color-gold) !important;
  font-weight: 600;
}

.journey-type-badge i {
  color: var(--color-gold) !important;
}

.journey-project-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 700px;
}

/* Phase Timeline */
.journey-phases-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.75rem 2rem 1.25rem 2rem;
  flex-wrap: wrap;
}

.journey-phase-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.journey-phase-btn .phase-step {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  transition: all 0.3s;
}

.journey-phase-btn:hover {
  border-color: var(--color-border-teal);
  color: var(--color-text-primary);
}

.journey-phase-btn.completed {
  border-color: var(--color-border-teal);
  color: var(--color-primary-accent);
}

.journey-phase-btn.completed .phase-step {
  background: var(--color-primary);
  border-color: var(--color-primary-accent);
  color: var(--color-primary-accent);
}

.journey-phase-btn.active {
  background: rgba(0, 103, 102, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.journey-phase-btn.active .phase-step {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
}

.phase-connector {
  width: 2rem;
  height: 2px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Image Stage */
.journey-image-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 0.5rem;
}

.journey-main-image-wrap {
  flex: 1;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
}

.journey-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.journey-image-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(8, 13, 18, 0.85);
}

.journey-image-phase-label {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
}

.journey-image-phase-label i {
  margin-right: 0.35rem;
}

.journey-image-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.journey-nav-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
  margin: 0 0.25rem;
}

.journey-nav-btn:hover:not(:disabled) {
  background: var(--color-gold);
  color: #000;
  border-color: var(--color-gold);
}

.journey-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Thumbnail Strip */
.journey-thumbs-strip {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 2rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold-dark) transparent;
}

.journey-thumbs-strip::-webkit-scrollbar {
  height: 3px;
}
.journey-thumbs-strip::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 2px;
}

.journey-thumb {
  position: relative;
  width: 72px;
  height: 50px;
  min-width: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.25s ease;
}

.journey-thumb:hover {
  opacity: 0.85;
  border-color: var(--color-border-teal);
}

.journey-thumb.active {
  opacity: 1;
  border-color: var(--color-gold);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(212,175,55,0.3);
}

.journey-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-phase-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Progress Bar */
.journey-progress-bar {
  height: 3px;
  background: var(--color-border);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}

.journey-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .journey-meta {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
  }

  .journey-project-title {
    font-size: 1.25rem;
  }

  .journey-phases-timeline {
    padding: 0.5rem 1rem 1rem 1rem;
    gap: 0;
  }

  .journey-phase-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
  }

  .journey-phase-btn .phase-step {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 0.6rem;
  }

  .phase-connector {
    width: 1rem;
  }

  .journey-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.8rem;
  }

  .journey-thumbs-strip {
    padding: 0.75rem 1rem;
  }

  .journey-thumb {
    width: 56px;
    height: 40px;
    min-width: 56px;
  }

  .journey-image-badge {
    padding: 0.5rem 0.75rem;
  }

  .journey-image-phase-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .journey-project-tab {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .journey-phase-btn .phase-label {
    display: none;
  }

  .journey-phase-btn {
    padding: 0.3rem 0.5rem;
  }
}

/* =========================================================================
   TEAM LEADERS SECTION
   ========================================================================= */
.team-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-leader-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.team-leader-card:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-leader-photo-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #121c23;
}

.team-leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-leader-card:hover .team-leader-photo-wrap img {
  transform: scale(1.03);
}

.team-leader-info {
  padding: 1.5rem 1.75rem 2rem;
  text-align: center;
}

.team-leader-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.team-leader-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.team-leader-qualifications {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-leader-qual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.team-leader-qual i {
  color: var(--color-primary-accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.team-leader-divider {
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto 1rem auto;
  border-radius: 2px;
}

[data-theme="light"] .team-leader-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .team-leader-card:hover {
  border-color: var(--color-border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(0, 103, 102, 0.08);
}

[data-theme="light"] .team-leader-photo-wrap {
  background: #f1f5f9;
}

[data-theme="light"] .team-leader-name {
  color: #1e293b;
}
