/* CredFill Enhanced Dark Theme - Final Version with All Fixes */
@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
  font-display: swap;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  font-family: "FKGroteskNeue", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

/* Spotlight Text Reveal - 10 Second Animation with Proper Circular Beam */
.spotlight-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease-out;
  overflow: hidden;
}
.spotlight-intro {
    display: none important;
}

.spotlight-intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(
    circle 400px at center, 
    transparent 0%, 
    transparent 30%, 
    rgba(0, 0, 0, 0.95) 70%,
    #000000 100%
  );
}

.spotlight-text {
  position: absolute;
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.6;
  color: #ffffff;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  will-change: transform, opacity;
  max-width: 85vw;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  transform: translateX(100%);
}

/* Main Website */
.main-website {
  opacity: 0;
  transition: opacity 1s ease-out;
  width: 100%;
  overflow-x: hidden;
}

.main-website.visible {
  opacity: 1;
}

/* Header - Fixed Mobile Navigation Issues */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.header.visible {
  transform: translateY(0);
}

.navbar {
  padding: 16px 0;
}

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

/* Logo Styling */
.nav-logo .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin-left: 120px; /* Gap between logo and menu */
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.nav-link:hover {
  color: #ffffff;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Hover-based dropdown for desktop */
@media (min-width: 769px) {
  .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Click-based dropdown - shown when .active class is added via JS (mobile) */
.nav-item.dropdown-active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 13px;
}

.dropdown a:hover {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 100%
  );
  color: #ffffff;
}

/* WhatsApp Button - Close to Menu */
.nav-cta {
  margin-left: 24px;
  margin-right: 0;
}

.whatsapp-btn {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 35px;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.whatsapp-btn:hover {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Hamburger Menu - Enhanced Visibility with Clear 3 Lines */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
  position: relative;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.hamburger .bar {
  width: 24px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.hamburger.active {
  background: rgba(255, 255, 255, 0.15);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Enhanced Cosmic Universe Background */
.cosmic-universe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  overflow: hidden;
}

.cosmic-universe.visible {
  opacity: 1;
}

.cosmic-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  width: clamp(300px, 45vw, 500px);
  height: clamp(300px, 45vw, 500px);
  z-index: 5;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}

.cosmic-rings .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.6) transparent;
  border-radius: 50%;
  opacity: 0.9;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-width: 2px;
  animation: spin 25s linear infinite, ringPulse 8s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.3);
}

.ring-2 {
  width: 85%;
  height: 85%;
  border-width: 1.5px;
  animation: spin 18s linear infinite reverse;
  border-color: rgba(255, 255, 255, 0.5) transparent;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.25);
}

.ring-3 {
  width: 70%;
  height: 70%;
  border-width: 1.5px;
  animation: spin 30s linear infinite;
  border-color: rgba(255, 255, 255, 0.7) transparent;
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.35);
}

.ring-4 {
  width: 55%;
  height: 55%;
  border-width: 1px;
  animation: spin 12s linear infinite reverse;
  border-color: rgba(255, 255, 255, 0.4) transparent;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
}

.ring-5 {
  width: 40%;
  height: 40%;
  border-width: 1px;
  animation: spin 35s linear infinite;
  border-color: rgba(255, 255, 255, 0.8) transparent;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.4);
}

.ring-3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.3));
  border-radius: 50%;
  box-shadow: 
    0 0 60px rgba(255, 255, 255, 0.9),
    0 0 120px rgba(255, 255, 255, 0.6),
    0 0 180px rgba(255, 255, 255, 0.4);
  animation: centerPulse 3s cubic-bezier(0.6, 0.18, 0.7, 1.19) alternate infinite;
}

/* Nebula Clouds */
.nebula-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 400px 200px at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 300px 150px at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 500px 100px at 60% 90%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  animation: nebulaDrift 60s ease-in-out infinite;
}

/* Constellation Patterns */
.constellation-patterns {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.constellation-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: constellationFlicker 4s ease-in-out infinite;
}

/* Cosmic Particles */
.cosmic-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.3));
  border-radius: 50%;
  animation: particleFloat 20s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Energy Pulses */
.energy-pulses {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.energy-pulse {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #ffffff, transparent);
  border-radius: 50%;
  animation: energyPulse 4s ease-in-out infinite;
}

/* Hero Section - Fixed Button Positioning */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
  width: 100%;
  overflow: hidden;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.fixed-text {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.changing-text {
  background: linear-gradient(135deg, #00c2ff 0%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.hero-subtitle {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 64px;
  font-weight: 400;
}

/* Fixed Hero Buttons - Lower Position and Smaller Width */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Buttons - Reduced Width and Better Sizing */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-width: fit-content;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00c2ff 0%, #00ff88 100%);
  color: #000000;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(0, 194, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.4);
}

.btn-secondary {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 20px 32px;
  font-size: 16px;
  border-radius: 50px;
}

/* Services Section - Reduced Gap from Hero */
.services {
  position: relative;
  z-index: 10;
  padding: 64px 0;
  background: #000000;
  width: 100%;
  overflow: hidden;
}

.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 96px;
  padding: 0 20px;
  min-height: 70vh;
}

.service-section.reverse {
  direction: rtl;
}

.service-section.reverse > * {
  direction: ltr;
}

.service-animation {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.service-content p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 32px;
}

.service-features li {
  padding: 8px 0;
  color: #cccccc;
  position: relative;
  padding-left: 24px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00ff88;
  font-weight: bold;
}

/* WhatsApp ITR - Original White Sound Waves */
.sound-waves {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.wave-bar {
  width: 8px;
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.4) 100%);
  border-radius: 4px;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.8), 
    inset 0 0 8px rgba(255, 255, 255, 0.3);
  animation: waveMotion var(--delay) ease-in-out infinite;
}

@keyframes waveMotion {
  0%, 100% { 
    height: 30px; 
    opacity: 0.6; 
    transform: scaleX(1); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }
  50% { 
    height: 120px; 
    opacity: 1; 
    transform: scaleX(1.3); 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9), inset 0 0 10px rgba(255, 255, 255, 0.4);
  }
}

.wave-bar:nth-child(1) { animation-duration: 1.2s; }
.wave-bar:nth-child(2) { animation-duration: 1.8s; }
.wave-bar:nth-child(3) { animation-duration: 1.0s; }
.wave-bar:nth-child(4) { animation-duration: 2.1s; }
.wave-bar:nth-child(5) { animation-duration: 1.6s; }
.wave-bar:nth-child(6) { animation-duration: 1.4s; }
.wave-bar:nth-child(7) { animation-duration: 1.9s; }
.wave-bar:nth-child(8) { animation-duration: 1.3s; }
.wave-bar:nth-child(9) { animation-duration: 1.7s; }
.wave-bar:nth-child(10) { animation-duration: 1.1s; }
.wave-bar:nth-child(11) { animation-duration: 2.3s; }
.wave-bar:nth-child(12) { animation-duration: 1.5s; }
.wave-bar:nth-child(13) { animation-duration: 2.0s; }
.wave-bar:nth-child(14) { animation-duration: 1.2s; }
.wave-bar:nth-child(15) { animation-duration: 1.8s; }

/* Smart Loans - Original Network Nodes Animation */
.network-nodes {
  position: relative;
  width: 350px;
  height: 350px;
}

.central-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #00ff88, #00c2ff);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(0,255,136,0.8);
  animation: centralPulse 2s ease-in-out infinite alternate;
}

.outer-node {
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #00c2ff, #00ff88);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0,194,255,0.6);
  animation: nodePulse 3s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
}

.connection-line {
  position: absolute;
  height: 2px;
  width: 120px;
  background: linear-gradient(90deg, #00c2ff, transparent, #00ff88);
  transform-origin: left center;
  animation: dataFlow 2s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle));
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

@keyframes centralPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes nodePulse {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle))) scale(1);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle))) scale(1.2);
    box-shadow: 0 0 35px rgba(0, 194, 255, 0.8);
  }
}

@keyframes dataFlow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Virtual CBDO - Original Blue Digital Globe */
.digital-globe {
  position: relative;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(0, 194, 255, 0.3);
  border-radius: 50%;
  animation: globeRotate 30s linear infinite;
  box-shadow: 0 0 60px rgba(0, 194, 255, 0.3);
  background: radial-gradient(circle at center, rgba(0, 194, 255, 0.02) 0%, transparent 70%);
}

.globe-grid::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(0,194,255,0.1) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(0,194,255,0.1) 25px);
}

.data-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00c2ff;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 194, 255, 0.8);
  animation: dataPointPulse 2s ease-in-out infinite;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
}

.data-point::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0,194,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 3s ease-out infinite;
}

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

@keyframes dataPointPulse {
  0%, 100% { 
    opacity: 0.7; 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.6);
  }
  50% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 35px rgba(0, 194, 255, 0.9);
  }
}

@keyframes ripple {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}

/* Business Compliance - Original Orange/Gold Document Flow */
.document-flow-container {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}

.flow-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.doc-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  animation: iconGlow 3s ease-in-out infinite alternate;
}

.stage-label {
  font-size: 12px;
  color: #cccccc;
  font-weight: 500;
}

.flow-arrow {
  display: flex;
  align-items: center;
  position: relative;
}

.arrow-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #ffd700, #ff8c00);
  animation: arrowFlow 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.arrow-head {
  width: 0;
  height: 0;
  border-left: 8px solid #ffd700;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  animation: arrowFlow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.floating-documents {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.floating-doc {
  position: absolute;
  font-size: 1.5rem;
  animation: floatDocument 4s ease-in-out infinite;
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.floating-doc[data-delay="0"] { top: 20%; left: 10%; animation-delay: 0s; }
.floating-doc[data-delay="0.5"] { top: 80%; left: 20%; animation-delay: 0.5s; }
.floating-doc[data-delay="1"] { top: 30%; left: 80%; animation-delay: 1s; }
.floating-doc[data-delay="1.5"] { top: 70%; left: 85%; animation-delay: 1.5s; }
.floating-doc[data-delay="2"] { top: 50%; left: 5%; animation-delay: 2s; }

.organizational-chart {
  position: absolute;
  bottom: 20px;
  width: 200px;
  height: 80px;
}

.chart-node {
  position: absolute;
  width: 40px;
  height: 20px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffd700;
  backdrop-filter: blur(5px);
}

.central { top: 0; left: 50%; transform: translateX(-50%); }
.branch-1 { bottom: 0; left: 0; }
.branch-2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.branch-3 { bottom: 0; right: 0; }

@keyframes iconGlow {
  from { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
  to { filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8)); }
}

@keyframes arrowFlow {
  0%, 100% { opacity: 0.7; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.2); }
}

@keyframes floatDocument {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* Virtual CFO - Original Multi-Color Financial Dashboard */
.dashboard-container {
  position: relative;
  width: 350px;
  height: 300px;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 20px;
}

.financial-dashboard {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  gap: 15px;
}

.chart-section {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.bar-chart-container,
.line-chart-container {
  background: rgba(0, 194, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.chart-title {
  font-size: 10px;
  color: #cccccc;
  margin-bottom: 8px;
  text-align: center;
}

.bar-chart {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 60px;
  gap: 3px;
}

.bar {
  width: 12px;
  background: linear-gradient(to top, #00c2ff, #00ff88);
  border-radius: 2px 2px 0 0;
  height: calc(var(--height) * 1%);
  animation: barGrowth 3s ease-out infinite;
  position: relative;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.bar[data-height="60"] { --height: 60; animation-delay: 0s; }
.bar[data-height="80"] { --height: 80; animation-delay: 0.2s; }
.bar[data-height="45"] { --height: 45; animation-delay: 0.4s; }
.bar[data-height="95"] { --height: 95; animation-delay: 0.6s; }
.bar[data-height="70"] { --height: 70; animation-delay: 0.8s; }

.line-chart {
  height: 60px;
  display: flex;
  align-items: center;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.profit-line {
  fill: none;
  stroke: #00ff88;
  stroke-width: 2;
  stroke-dasharray: 200;
  animation: drawProfitLine 4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.4));
}

.pie-chart-container {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.pie-chart {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(
    #00c2ff 0deg 126deg,
    #00ff88 126deg 216deg,
    #ffd700 216deg 360deg
  );
  animation: pieRotation 6s linear infinite;
  position: relative;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.pie-chart::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: #000000;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.metrics-panel {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.metric {
  text-align: center;
  font-size: 10px;
  color: #cccccc;
  position: relative;
}

.metric::before {
  content: attr(data-value);
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ffd700;
  animation: metricPulse 3s ease-in-out infinite;
}

.metric::after {
  content: attr(data-trend);
  display: block;
  font-size: 8px;
  color: #00ff88;
  margin-top: 2px;
}

.data-streams-cfo {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.data-stream {
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffd700, transparent);
  border-radius: 1px;
  animation: cfoStreamFlow 2s linear infinite;
}

.data-stream[data-delay="0"] { animation-delay: 0s; }
.data-stream[data-delay="0.3"] { animation-delay: 0.3s; }
.data-stream[data-delay="0.6"] { animation-delay: 0.6s; }
.data-stream[data-delay="0.9"] { animation-delay: 0.9s; }

@keyframes barGrowth {
  0% { height: 10%; }
  50% { height: calc(var(--height) * 1%); }
  100% { height: 10%; }
}

@keyframes drawProfitLine {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

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

@keyframes metricPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes cfoStreamFlow {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Keyframes for Cosmic Animations */
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes centerPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes nebulaDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

@keyframes constellationFlicker {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@keyframes particleFloat {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}

@keyframes energyPulse {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 16px;
  color: #cccccc;
}

/* Partners Section - Card Grid Layout */
.partners {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  background: #000000;
}

/* Partners Grid Layout */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transition: left 0.6s ease;
}

.partner-card:hover::before {
  left: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(255, 255, 255, 0.05);
}

.partner-logo {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #1a1a1a;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.partner-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  border-radius: 16px;
}

.partner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 20px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.partner-type {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #b0b0b0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: capitalize;
}

.partner-card p {
  color: #999999;
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 96px 0;
  position: relative;
  z-index: 10;
  background: #000000;
}

.choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.reason-card {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.reason-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.reason-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(0, 200, 150, 0.5)) drop-shadow(0 0 24px rgba(0, 194, 255, 0.3));
}

.reason-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 600;
}

.reason-card p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 14px;
}

/* Testimonials */
.testimonials {
  padding: 96px 0;
  position: relative;
  z-index: 10;
  background: #000000;
}

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

.testimonial-card {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.stars {
  font-size: 16px;
  margin-bottom: 16px;
  filter: grayscale(100%) brightness(200%);
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #cccccc;
  font-style: italic;
}

.testimonial-author strong {
  color: #ffffff;
  font-size: 14px;
}

.testimonial-author span {
  display: block;
  color: #cccccc;
  font-size: 12px;
  margin-top: 4px;
}

.testimonial-author small {
  display: block;
  color: #999999;
  font-size: 11px;
  margin-top: 4px;
}

/* CTA Section */
.cta-section {
  padding: 96px 0;
  position: relative;
  z-index: 10;
  text-align: center;
  background: #000000;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 48px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 0 32px;
  backdrop-filter: blur(20px);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-section.company-info {
  padding-right: 20px;
}

.footer-section h3 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-section h4 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section h4 a:hover {
  color: #cccccc;
}

.company-details p {
  color: #cccccc;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 13px;
}

.social-media {
  margin-top: 24px;
}

.social-media h4 {
  font-size: 14px;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 13px;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal span {
  color: #999999;
  font-size: 12px;
}

.footer-credits span {
  color: #cccccc;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-section {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .service-section.reverse {
    direction: ltr;
  }
  
  .cosmic-rings {
    width: clamp(250px, 50vw, 400px);
    height: clamp(250px, 50vw, 400px);
  }
  
  .service-animation {
    height: 300px;
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .footer-section.company-info {
    grid-column: span 3;
    text-align: center;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  /* Fixed Mobile Navigation */
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav-container {
    position: relative;
  }

  .nav-cta {
    margin-right: 60px;
    margin-left: 0;
  }

  /* Mobile Chat Button - Show only "Chat" */
  .chat-text::after {
    content: " with Us";
  }

  .whatsapp-btn .chat-text::after {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    width: 100%;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 16px 0;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    margin: 0 0 8px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Mobile dropdown - shown when .dropdown-active class is added */
  .nav-item.dropdown-active .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    margin-top: 8px;
  }

  .dropdown a {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown a:last-child {
    border-bottom: none;
  }

  /* Fixed Hero Buttons for Mobile */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    gap: 16px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 18px 24px;
  }

  .hero-subtitle {
    margin-bottom: 48px;
  }

  .service-animation {
    height: 250px;
  }

  .sound-waves,
  .network-nodes,
  .digital-globe,
  .document-flow-container,
  .dashboard-container {
    transform: scale(0.8);
  }

  /* Partners Grid Mobile */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .partner-card {
    padding: 24px 16px;
  }

  .partner-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .partner-card h3 {
    font-size: 14px;
  }

  .partner-type {
    font-size: 10px;
    padding: 4px 10px;
  }

  .partner-card p {
    font-size: 11px;
    display: none;
  }

  .choose-us-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile - Left Aligned */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-section.company-info {
    grid-column: span 1;
    text-align: left;
  }

  .footer-section {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .footer-legal {
    text-align: left;
  }

  /* Fixed Partners Section Gap */
  .partners {
    padding: 48px 0;
  }

  .services {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  /* Fixed Mobile Layout Issues */
  body {
    overflow-x: hidden;
  }

  .nav-container {
    padding: 0 16px;
  }

  .nav-cta {
    margin-right: 50px;
  }

  .nav-cta .whatsapp-btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hamburger {
    right: 16px;
  }

  .hero-container {
    padding: 0 16px;
  }

  /* Fixed Hero Buttons Position */
  .hero-buttons {
    margin-top: 64px;
  }

  .btn {
    max-width: 240px;
    padding: 16px 20px;
    font-size: 13px;
  }

  .container {
    padding: 0 16px;
  }

  .service-section {
    margin-bottom: 48px;
    padding: 0 16px;
  }

  /* Partners Mobile - Single Column */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partner-card {
    padding: 20px 16px;
  }

  .partner-logo {
    width: 60px;
    height: 60px;
  }

  .partner-text {
    font-size: 16px;
  }

  .partner-card h3 {
    font-size: 16px;
  }

  .partner-type {
    font-size: 11px;
  }

  .partner-card p {
    display: block;
    font-size: 12px;
  }

  .choose-us-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sound-waves,
  .network-nodes,
  .digital-globe,
  .document-flow-container,
  .dashboard-container {
    transform: scale(0.7);
  }

  /* Footer Mobile - All Left Aligned */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-section.company-info {
    grid-column: span 1;
    text-align: left;
  }

  .footer-section {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  /* Fixed Spacing Issues */
  .partners {
    padding: 40px 0;
  }

  .services {
    padding: 32px 0;
  }

  /* Fixed Spotlight Text for Mobile */
  .spotlight-text {
    font-size: clamp(14px, 4vw, 18px);
    max-width: 90vw;
    padding: 0 10px;
    white-space: normal;
    text-align: center;
  }
}

/* ===== ABOUT PAGE STYLES ===== */

/* Ensure body and main container have black background for about page */
body {
  background-color: #000000;
}

/* Ensure all about page sections are above cosmic background */
.about-hero,
.mission-section,
.story-section,
.problem-section-main,
.what-we-do-section,
.stats-section,
.approach-section,
.vision-section,
.about-cta {
  position: relative;
  z-index: 10;
}

/* About Hero Section */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 100px;
}

.about-hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.about-badge {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #00c2ff;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.about-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #cccccc;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Mission Section */
.mission-section {
  padding: 100px 32px;
  background: #000000;
}

.mission-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 64px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border-left: 4px solid;
  border-image: linear-gradient(to bottom, #00c2ff, #00ff88) 1;
  position: relative;
  overflow: hidden;
}

.mission-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, #00c2ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-card p {
  font-size: 18px;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Story Section */
.story-section {
  padding: 100px 32px;
  background: #000000;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 32px;
  color: #ffffff;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00c2ff, #00ff88);
  border-radius: 2px;
}

.story-content {
  max-width: 1000px;
  margin: 0 auto;
}

.story-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 24px;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* Problem Section */
.problem-section-main {
  padding: 100px 32px;
  background: #000000;
}

.problem-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00c2ff, #00ff88);
}

.problem-card p {
  font-size: 17px;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 24px;
}

.problem-list-main {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.problem-list-main li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.6;
}

.problem-list-main li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c2ff, #00ff88);
}

/* What We Do Section */
.what-we-do-section {
  padding: 100px 32px;
  background: #000000;
}

.what-we-do-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.what-we-do-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
  font-size: 18px;
  color: #cccccc;
  line-height: 1.7;
}

/* Verticals Grid */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.vertical-card {
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #00c2ff, #00ff88);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.vertical-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 194, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.vertical-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.15), rgba(0, 255, 136, 0.15));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vertical-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.vertical-card p {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.vertical-features {
  list-style: none;
  padding: 0;
}

.vertical-features li {
  font-size: 14px;
  color: #b0b0b0;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.vertical-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00c2ff;
  font-weight: bold;
}

/* Stats Section */
.stats-section {
  padding: 100px 32px;
  background: #000000;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00c2ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: #cccccc;
  font-weight: 500;
}

/* Approach Section */
.approach-section {
  padding: 100px 32px;
  background: #000000;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.approach-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  color: #ffffff;
}

.approach-content p {
  font-size: 18px;
  color: #cccccc;
  line-height: 1.7;
}

.approach-list {
  list-style: none;
  padding: 0;
}

.approach-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s;
}

.approach-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.approach-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00c2ff, #00ff88);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 18px;
  color: #000000;
  font-weight: bold;
}

.approach-item span {
  font-size: 16px;
  color: #ffffff;
}

/* Vision Section */
.vision-section {
  padding: 100px 32px;
  background: #000000;
}

.vision-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
}

.vision-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 32px;
  color: #ffffff;
}

.vision-card p {
  font-size: 20px;
  line-height: 1.8;
  color: #e0e0e0;
}

.vision-highlight {
  background: linear-gradient(135deg, #00c2ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* About CTA Section */
.about-cta {
  padding: 100px 32px;
  background: #000000;
}

.about-cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 64px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(0, 255, 136, 0.1));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00c2ff, #00ff88);
}

.about-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: #ffffff;
}

.about-cta p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.7;
}

.about-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #00c2ff, #00ff88);
  color: #000000;
  border: none;
}

.cta-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 194, 255, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
  border-color: #00c2ff;
  background: rgba(0, 194, 255, 0.1);
  transform: translateY(-4px);
}

/* Scroll Reveal Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles for About Page */
@media (max-width: 1200px) {
  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 120px 20px 60px;
    min-height: 50vh;
  }

  .mission-card,
  .vision-card,
  .about-cta-content {
    padding: 40px 28px;
  }

  .problem-card {
    padding: 32px 24px;
  }

  .verticals-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .story-section,
  .problem-section-main,
  .what-we-do-section,
  .stats-section,
  .approach-section,
  .vision-section,
  .about-cta {
    padding: 60px 20px;
  }

  .mission-section {
    padding: 60px 20px;
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}