/* ==========================================================================
   TeleWink Global Services - Main Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Tokens - Dark Mode (Default) */
  --bg-primary: #030712;
  --bg-secondary: #0b1120;
  --bg-tertiary: #111827;
  --bg-glass: rgba(11, 17, 32, 0.75);
  --bg-glass-hover: rgba(17, 24, 39, 0.85);
  --text-primary: #ffffff;
  --text-secondary: #a3b3cc;
  --text-muted: #6b7280;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 210, 255, 0.3);
  
  --accent-primary: #00d2ff;
  --accent-secondary: #0052ff;
  --accent-indigo: #4f46e5;
  --accent-glow: rgba(0, 210, 255, 0.2);
  --accent-grad: linear-gradient(135deg, #00d2ff 0%, #0052ff 100%);
  --logo-tele-color: #ffffff;
  --logo-primary: #00d2ff;
  --logo-secondary: #0052ff;
  --logo-smile: #ffffff;
  --logo-dark-text: #ffffff;
  
  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Shared Shadows & Curves */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Override */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-hover: rgba(255, 255, 255, 0.95);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(0, 82, 255, 0.3);
  
  --accent-primary: #0052ff;
  --accent-secondary: #3f00ff;
  --accent-glow: rgba(0, 82, 255, 0.12);
  --accent-grad: linear-gradient(135deg, #0052ff 0%, #3f00ff 100%);
  --logo-tele-color: #0f172a;
  --logo-primary: #0052ff;
  --logo-secondary: #3f00ff;
  --logo-smile: #0f172a;
  --logo-dark-text: #0f172a;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 15px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 20px rgba(0, 82, 255, 0.15);
}

/* ==========================================================================
   Base resets & typography
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* SVG Logo Dynamic Style */
.logo-text-tele {
  fill: var(--logo-tele-color);
  transition: fill var(--transition-normal);
}

/* ==========================================================================
   Reusable Utilities & Components
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6.25rem 0;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition-normal), background var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00d2ff, #0052ff, #9d4edd, #00d2ff);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerText 8s ease infinite;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #ff007f, #9d4edd, #00d2ff, #ff007f);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerText 8s ease infinite reverse;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0052ff, #7209b7, #3f00ff, #0052ff);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .gradient-text-alt {
  background: linear-gradient(135deg, #d90429, #7209b7, #0052ff, #d90429);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Primary/Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-normal), background-position 0.5s ease;
  border: none;
  font-family: var(--font-primary);
  gap: 0.5rem;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0052ff 50%, #4f46e5 100%);
  background-size: 200% auto;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 210, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-secondary {
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 82, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.15);
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Badge style */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* ==========================================================================
   Header (Sticky Navigation)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: height var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: 65px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  width: 180px;
  height: 45px;
}

/* Animated Inline SVG Logo Styles */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-primary-stroke { stroke: var(--logo-primary); }
.logo-smile-stroke { stroke: var(--logo-smile); }
.logo-primary-fill { fill: var(--logo-primary); }
.logo-secondary-fill { fill: var(--logo-secondary); }
.logo-dark-text-fill { fill: var(--logo-dark-text); }

.logo-wave-1 {
  animation: logoWavePulse 1.8s infinite 0s;
  transform-origin: 55px 72px;
}
.logo-wave-2 {
  animation: logoWavePulse 1.8s infinite 0.3s;
  transform-origin: 55px 72px;
}
.logo-wave-3 {
  animation: logoWavePulse 1.8s infinite 0.6s;
  transform-origin: 55px 72px;
}

.logo-smile-stroke {
  transform-origin: 55px 72px;
  animation: logoSmileWink 5s infinite ease-in-out;
}

@keyframes logoWavePulse {
  0% { opacity: 0.2; stroke-width: 5px; }
  40% { opacity: 1; stroke-width: 7px; }
  100% { opacity: 0.2; stroke-width: 5px; }
}

@keyframes logoSmileWink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.15); }
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent-primary);
}

/* Underline Hover Effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

/* Mega Menu for Services */
.has-mega-menu {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-glass-hover);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-primary);
  padding-left: 0.5rem;
}

.mega-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-column ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
  padding: 0.25rem 0;
}

.mega-column ul li a:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle, .theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.search-toggle:hover, .theme-toggle:hover {
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-primary);
}

/* Theme Toggle Animated Moon/Sun */
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

/* Hamburger menu icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Search Bar Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-form {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 0 1.5rem;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-color);
  padding: 1rem 0;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  outline: none;
}

.search-input:focus {
  border-color: var(--accent-primary);
}

.search-close {
  position: absolute;
  top: -50px;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.search-close:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   Hero Section with Custom Telecom Network Graphic
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.04) 0%, transparent 45%),
              var(--bg-primary);
  transition: background var(--transition-normal);
}

[data-theme="light"] .hero {
  background: radial-gradient(circle at 10% 20%, rgba(0, 82, 255, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(63, 0, 255, 0.03) 0%, transparent 45%),
              var(--bg-primary);
}

/* Dynamic network canvas */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 82, 255, 0.05) 50%, transparent 100%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.hero-glow-left {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 80%);
  filter: blur(60px);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 720px;
}

/* Premium Badge with Live Pulse Indicator */
.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.18);
  color: var(--accent-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.1);
  margin-bottom: 1.5rem;
}

.hero-content .badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  animation: badgeDotPulse 1.5s infinite;
}

@keyframes badgeDotPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.6); }
  70% { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(0, 210, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

[data-theme="light"] .hero-content .badge {
  background: rgba(0, 82, 255, 0.06);
  border-color: rgba(0, 82, 255, 0.15);
}

.hero-title {
  font-size: 3.85rem;
  font-weight: 850;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 850;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* High-Fidelity Animated SVG Tech Illustration */
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-backdrop {
  position: absolute;
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.hero-illustration {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-container:hover .hero-illustration {
  transform: scale(1.03);
}

/* SVG Orbiting Rings Rotation */
.tech-ring {
  transform-origin: 250px 250px;
  transition: animation-duration 0.5s ease;
}

.ring-slow {
  animation: rotateClockwise 35s linear infinite;
}

.ring-reverse {
  animation: rotateCounter 25s linear infinite;
}

.ring-fast {
  animation: rotateClockwise 15s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Concentric Radar Ripples */
.tech-radar-ripple {
  transform-origin: 250px 250px;
  opacity: 0;
}

.ripple-1 {
  animation: radarRipple 4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.ripple-2 {
  animation: radarRipple 4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite 1.33s;
}

.ripple-3 {
  animation: radarRipple 4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite 2.66s;
}

@keyframes radarRipple {
  0% {
    r: 45px;
    opacity: 0.8;
    stroke-width: 2px;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    r: 210px;
    opacity: 0;
    stroke-width: 0.5px;
  }
}

/* Processing Core Pulse */
.core-pulse {
  transform-origin: 250px 250px;
  animation: corePulseAnimation 2.5s ease-in-out infinite;
}

@keyframes corePulseAnimation {
  0%, 100% { transform: scale(0.92); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

/* Data flows along circuits */
.flow-path {
  stroke-dasharray: 20 80;
  stroke-dashoffset: 100;
  animation: traceFlow 3.5s linear infinite;
  transition: animation-duration 0.5s ease, stroke-width 0.5s ease;
}

.flow-tl { animation-delay: 0s; }
.flow-tr { animation-delay: 0.6s; }
.flow-bl { animation-delay: 1.2s; }
.flow-br { animation-delay: 1.8s; }
.flow-l  { stroke-dasharray: 30 70; animation: traceFlow 2.5s linear infinite 0.3s; }
.flow-r  { stroke-dasharray: 30 70; animation: traceFlow 2.5s linear infinite 0.9s; }

@keyframes traceFlow {
  to {
    stroke-dashoffset: -100;
  }
}

/* Floating SVG Service Cards */
.floating-card {
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-dcb { animation: floatCard1 5.5s ease-in-out infinite; }
.card-sms { animation: floatCard2 6.5s ease-in-out infinite 0.5s; }
.card-ussd { animation: floatCard3 6s ease-in-out infinite 1s; }
.card-voice { animation: floatCard4 7s ease-in-out infinite 1.5s; }

.floating-card rect {
  transition: fill var(--transition-normal), stroke var(--transition-normal);
}

.card-border-glow {
  transition: opacity 0.5s ease;
}

@keyframes floatCard1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3px, -8px); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -6px); }
}

@keyframes floatCard3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4px, 6px); }
}

@keyframes floatCard4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, 8px); }
}

/* Tech Text Metrics Blink */
.pulse-text {
  animation: textPulse 2s ease-in-out infinite;
}

.pulse-text-slow {
  animation: textPulse 3.5s ease-in-out infinite 0.5s;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* Micro-interactions on Hover over container */
.hero-image-container:hover .ring-slow { animation-duration: 15s; }
.hero-image-container:hover .ring-reverse { animation-duration: 12s; }
.hero-image-container:hover .ring-fast { animation-duration: 6s; }

.hero-image-container:hover .flow-path {
  animation-duration: 1.5s;
  stroke-width: 3.5px;
}

.hero-image-container:hover .floating-card {
  transform: scale(1.04);
}

.hero-image-container:hover .card-border-glow {
  opacity: 0.85;
}

/* ==========================================================================
   About Section & Timeline
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-card {
  padding: 2rem;
  text-align: left;
}

.about-feature-card i {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: block;
}

/* Growth Timeline */
.timeline-section {
  padding-top: 4rem;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 3rem;
}

.timeline-row::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-primary);
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast);
}

.timeline-node:hover .timeline-dot {
  transform: scale(1.3);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Services Grid & Dynamic Cards
   ========================================================================== */

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

.service-card {
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.service-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.service-icon-wrapper {
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: "→";
  color: var(--accent-primary);
  font-weight: bold;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.service-link span {
  transition: transform var(--transition-fast);
}

.service-link:hover span {
  transform: translateX(5px);
}

/* ==========================================================================
   Solutions & Industries Grid
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.solution-card {
  padding: 2.5rem;
}

.solution-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Industries Served Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.industry-card {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.industry-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.industry-card:hover .industry-icon {
  transform: rotateY(360deg);
  background: var(--accent-grad);
  color: #fff;
}

.industry-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ==========================================================================
   World Map Served Countries Layout
   ========================================================================== */

.map-section {
  position: relative;
  background: var(--bg-secondary);
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.map-svg {
  width: 100%;
  fill: var(--text-muted);
  opacity: 0.15;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 0 10px var(--accent-primary);
}

.map-dot::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Country Tooltip */
.map-tooltip {
  position: absolute;
  background: var(--bg-glass-hover);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  transform: translate(-50%, -100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 10;
  white-space: nowrap;
}

/* Position dots approximately on world map projection */
.dot-uk { top: 27%; left: 44%; }
.dot-canada { top: 31%; left: 23%; }
.dot-india { top: 67%; left: 73%; }
.dot-nigeria { top: 76%; left: 54%; }
.dot-kenya { top: 80%; left: 62.5%; }
.dot-ghana { top: 74%; left: 51.5%; }
.dot-tanzania { top: 84%; left: 62%; }
.dot-uganda { top: 81%; left: 60.5%; }
.dot-cameroon { top: 79%; left: 56%; }
.dot-safrica { top: 96%; left: 58.5%; }
.dot-zambia { top: 90%; left: 59%; }
.dot-rwanda { top: 83%; left: 61%; }
.dot-ethiopia { top: 76%; left: 63.5%; }

/* ==========================================================================
   Infinite Carousel Slider (Clients & Partners)
   ========================================================================== */

.logo-slider-container {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.logo-slider-container::before, .logo-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.logo-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.logo-track {
  display: flex;
  width: calc(250px * 14);
  animation: logoScroll 30s linear infinite;
}

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

.logo-slide {
  width: 250px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.logo-slide img {
  max-height: 45px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.logo-slide:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 7)); }
}

/* ==========================================================================
   Case Studies Cards (Growth Metrics)
   ========================================================================== */

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

.case-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-image {
  height: 200px;
  background: var(--bg-tertiary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-image svg {
  width: 80px;
  color: var(--accent-primary);
  opacity: 0.15;
  transition: transform var(--transition-normal);
}

.case-card:hover .case-image svg {
  transform: scale(1.15) rotate(5deg);
}

.case-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-metric {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.case-body h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.case-details {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-meta {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-glass);
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: rgba(0, 210, 255, 0.03);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table td i {
  font-size: 1.2rem;
}

.comparison-table td i.check-icon {
  color: #10b981;
}

.comparison-table td i.cross-icon {
  color: #ef4444;
}

/* ==========================================================================
   Testimonial Slider
   ========================================================================== */

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  padding: 3rem;
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--accent-primary);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-company {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.slider-btn:hover {
  background: var(--accent-grad);
  color: #ffffff;
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */

.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.faq-search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 30px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  outline: none;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.faq-search-input:focus {
  border-color: var(--accent-primary);
}

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

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: var(--bg-glass);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-glass-hover);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-toggle-icon {
  transition: transform var(--transition-normal);
}

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

/* ==========================================================================
   Blog Listing Cards
   ========================================================================== */

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

.blog-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-image {
  height: 220px;
  background: var(--bg-tertiary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image svg {
  width: 70px;
  color: var(--accent-primary);
  opacity: 0.1;
}

.blog-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-body h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-link {
  font-weight: 600;
  color: var(--accent-primary);
  font-size: 0.9rem;
  margin-top: auto;
}

/* ==========================================================================
   Careers Section
   ========================================================================== */

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.job-meta-tags {
  display: flex;
  gap: 0.75rem;
}

.job-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact Layout & Form Inputs
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

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

.contact-method {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-method h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-method p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

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

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

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

.map-placeholder {
  height: 300px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.7;
}

/* ==========================================================================
   Mega Footer
   ========================================================================== */

.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  width: 180px;
  height: 45px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.85rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-grad);
  color: #ffffff;
}

.footer-column h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-column ul li a:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   AOS / Scroll Effects placeholder
   ========================================================================== */

[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition-property: transform, opacity;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Form Submit feedback */
.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}
