/* 🎨 Futuristic CSS - Kleverr 2035 Vision */

/* Override Webflow inline opacity (animations broken after jQuery removal) */
[style*="opacity:0"] {
  opacity: 1 !important;
}

/* Spanish language: Use Inter font (Thicccboi doesn't have Spanish glyphs) */
html[lang="es"] * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Spanish: Make "acerca de nosotros" badge fit on one line */
html[lang="es"] .text-block-38.it_service.who-we-are {
  max-width: 200px !important;
}

/* Spanish: Make About page title fit on 2 lines */
html[lang="es"] .heading-29 {
  max-width: 900px !important;
}

/* Spanish: Make "Business Excellence" heading fit on 2 lines */
html[lang="es"] .heading-24 {
  max-width: 750px !important;
}

/* Spanish: Make Services CTA title fit on 2 lines */
html[lang="es"] .heading-24.last-heading-services {
  font-size: 2.8rem !important;
  max-width: 650px !important;
  line-height: 1.2 !important;
}

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --neon-purple: #8000FF;
  --neon-cyan: #00ffff;
  --dark-bg: #0a0e27;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --text-glow: 0 0 20px rgba(128, 0, 255, 0.5);
  --quantum-blue: #00d4ff;
  --ai-green: #00ff88;
}

/* 🌌 Animated Gradient Background */
.quantum-bg {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

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

/* 💎 Glassmorphism Effects */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 2rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px 0 rgba(128, 0, 255, 0.4);
}

/* 🚀 Neon Glow Animations */
.neon-text {
  color: #fff;
  text-shadow: 
    0 0 10px var(--neon-purple),
    0 0 20px var(--neon-purple),
    0 0 30px var(--neon-purple),
    0 0 40px var(--neon-purple);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  from { text-shadow: 0 0 10px var(--neon-purple); }
  to { text-shadow: 0 0 20px var(--neon-purple), 0 0 30px var(--neon-purple); }
}

/* 🎯 AI Automation Section */
.ai-automation-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e27 0%, #1a1e3a 100%);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.ai-tool-card {
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  border-radius: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-tool-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-tool-card:hover::before {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ai-tool-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* 🎪 Use Cases Gallery */
.use-cases-gallery {
  position: relative;
  padding: 80px 0;
}

.case-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
  margin: 20px;
}

.case-card:hover {
  transform: rotateY(10deg) rotateX(10deg);
}

.case-card-content {
  padding: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.success-metric {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  margin: 5px;
  backdrop-filter: blur(10px);
}

/* 🔮 2035 Vision Lab */
.vision-lab {
  background: #000;
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.holographic-display {
  position: relative;
  width: 100%;
  height: 400px;
  perspective: 1000px;
}

.holo-content {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: holoRotate 20s linear infinite;
}

@keyframes holoRotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.quantum-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--quantum-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--quantum-blue);
  animation: quantumFloat 10s infinite;
}

@keyframes quantumFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(100vw, -100vh) scale(0); opacity: 0; }
}

/* 🎭 Interactive Elements */
.voice-search-btn {
  background: linear-gradient(135deg, var(--ai-green) 0%, var(--quantum-blue) 100%);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.voice-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.voice-search-btn.listening {
  animation: voicePulse 1s infinite;
}

@keyframes voicePulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Neural Network Animation */
.neural-network {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
}

.neural-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.neural-connection {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  height: 1px;
  animation: dataFlow 2s linear infinite;
}

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

/* 🎯 ROI Calculator */
.roi-calculator {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
}

.roi-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 15px;
  color: white;
  font-size: 16px;
  width: 100%;
  margin: 10px 0;
  transition: all 0.3s ease;
}

.roi-input:focus {
  outline: none;
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(128, 0, 255, 0.3);
}

.roi-result {
  font-size: 3rem;
  font-weight: bold;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: countUp 1s ease-out;
}

@keyframes countUp {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* 🎪 Loading Animation */
.quantum-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.quantum-loader.active {
  opacity: 1;
  pointer-events: all;
}

.loader-dots {
  display: flex;
  gap: 10px;
}

.loader-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-gradient);
  border-radius: 50%;
  animation: loaderBounce 1.4s infinite ease-in-out both;
}

.loader-dot:nth-child(1) { animation-delay: -0.32s; }
.loader-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loaderBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* 🚀 Live Demo Integration Styles */

/* Demo Badge Container */
.demo-badge-container {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

/* Live Demo Badge */
.demo-badge {
  background: linear-gradient(135deg, var(--ai-green) 0%, var(--quantum-blue) 100%);
  color: #000;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  animation: demoPulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.demo-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: demoShimmer 3s infinite;
}

@keyframes demoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 255, 136, 0.7); }
}

@keyframes demoShimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

/* Demo Link Button */
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ai-green);
  padding: 12px 24px;
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.demo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
  border-color: var(--quantum-blue);
}

.demo-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.demo-link:hover::before {
  left: 100%;
}

/* Demo Pulse Effect */
.demo-pulse {
  width: 8px;
  height: 8px;
  background: var(--ai-green);
  border-radius: 50%;
  animation: statusPulse 1.5s infinite;
  box-shadow: 0 0 10px var(--ai-green);
}

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

/* Living Prototypes Section */
.living-prototypes {
  position: relative;
  background: linear-gradient(180deg, #1a1e3a 0%, #0a0e27 100%);
}

.living-prototypes .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.prototypes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

/* Prototype Card Enhancements */
.prototype-card {
  position: relative;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  border-radius: 15px;
  padding: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.prototype-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
  border-color: var(--ai-green);
}

/* Prototype Status Indicator */
.prototype-status-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: var(--ai-green);
  border-radius: 50%;
  animation: statusPulse 1.5s infinite;
  box-shadow: 0 0 15px var(--ai-green);
}

.prototype-status-indicator::after {
  content: 'LIVE';
  position: absolute;
  top: -25px;
  right: -15px;
  font-size: 0.7rem;
  color: var(--ai-green);
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prototype-card:hover .prototype-status-indicator::after {
  opacity: 1;
}

/* Prototype Metrics */
.prototype-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.prototype-metrics .success-metric {
  background: rgba(0, 255, 136, 0.2);
  color: var(--ai-green);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

/* Demo Action Buttons */
.demo-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.demo-btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.demo-btn.primary {
  background: linear-gradient(135deg, var(--ai-green) 0%, var(--quantum-blue) 100%);
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.demo-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

.demo-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.demo-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--quantum-blue);
}

/* QR Code Integration */
.prototype-qr {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0.7;
}

.prototype-qr:hover {
  opacity: 1;
  background: rgba(0, 255, 136, 0.2);
  transform: scale(1.1);
}

.prototype-qr::after {
  content: '📱';
  font-size: 1.2rem;
}

/* Demo Preview Modal */
.demo-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 800px;
  height: 80vh;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease;
}

.demo-preview iframe {
  flex: 1;
  border: none;
  border-radius: 10px 10px 0 0;
}

.preview-actions {
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 0 0 10px 10px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.preview-actions a,
.preview-actions button {
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.preview-actions a {
  background: var(--primary-gradient);
  color: white;
}

.preview-actions button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Enhanced Success Metrics for Demos */
.demo-enhanced-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.demo-metric-item {
  text-align: center;
  padding: 15px 10px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  transition: all 0.3s ease;
}

.demo-metric-item:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
}

.demo-metric-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--ai-green);
  display: block;
}

.demo-metric-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}

/* 📱 Responsive Design Updates */
@media (max-width: 768px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
  
  .holographic-display {
    height: 250px;
  }
  
  .roi-result {
    font-size: 2rem;
  }

  .prototypes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .demo-actions {
    flex-direction: column;
  }
  
  .demo-btn {
    text-align: center;
    justify-content: center;
  }
  
  .demo-preview {
    width: 95vw;
    height: 90vh;
  }
  
  .demo-badge-container {
    justify-content: center;
  }
}

/* AI Translation Notification */
/* 🔔 AI TRANSLATION NOTIFICATION - Purple Brand */
.ai-translation-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow:
    0 10px 40px rgba(107, 70, 193, 0.2),
    0 0 0 1px rgba(107, 70, 193, 0.1);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid #6B46C1;
  transition: all 0.3s ease;
}

.ai-translation-notification:hover {
  box-shadow:
    0 15px 50px rgba(107, 70, 193, 0.25),
    0 0 0 1px rgba(107, 70, 193, 0.15);
  transform: translateY(-2px);
}


.notification-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #A0AEC0;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.notification-close:hover {
  background: rgba(107, 70, 193, 0.1);
  color: #6B46C1;
  opacity: 1;
  transform: scale(1.1);
}

.notification-close:active {
  transform: scale(0.95);
}

.translation-message {
  font-size: 14px;
  line-height: 1.5;
  color: #2D3748;
  font-weight: 500;
  opacity: 0.9;
}

/* Dark Mode Support for Notification */
body.dark-mode .ai-translation-notification {
  background: rgba(26, 32, 44, 0.98);
  box-shadow:
    0 10px 40px rgba(139, 92, 246, 0.3),
    0 0 0 1px rgba(139, 92, 246, 0.2);
  border-left-color: #8B5CF6;
}

body.dark-mode .ai-translation-notification:hover {
  box-shadow:
    0 15px 50px rgba(139, 92, 246, 0.4),
    0 0 0 1px rgba(139, 92, 246, 0.3);
}


body.dark-mode .translation-message {
  color: #E2E8F0;
}

body.dark-mode .notification-close {
  color: #718096;
}

body.dark-mode .notification-close:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

/* Animation keyframes for notifications */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Responsive language toggle */
@media (max-width: 991px) {
  .language-toggle-container {
    margin: 15px 0;
    display: flex;
    justify-content: center;
  }
  
  .language-toggle {
    width: 120px;
    text-align: center;
  }
}

/* Mobile Responsive - Toast Notification */
@media (max-width: 767px) {
  .ai-translation-notification {
    left: 12px;
    right: 12px;
    top: 12px;
    max-width: none;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .translation-message {
    font-size: 13px;
  }

  .language-toggle {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* Small mobile - Extra compact */
@media (max-width: 480px) {
  .ai-translation-notification {
    gap: 8px;
  }

  .translation-message {
    font-size: 12px;
  }

  .notification-close {
    top: 10px;
    right: 10px;
    padding: 3px;
  }

  .notification-close svg {
    width: 12px;
    height: 12px;
  }
}

/* PROFESSIONAL TEXT FORMATTING OVERRIDES */

/* Fix auto-capitalization for paragraph content */
.text-block-34,
.text-block-37,
.text-block-41,
.text-block-45 {
  text-transform: none !important;
}

/* Additional targeted fixes for specific problem elements */
div.text-block-37 {
  text-transform: none !important;
}

.div-block-52 .text-block-37 {
  text-transform: none !important;
}

/* Force override any Webflow capitalization */
[class*="text-block"] {
  text-transform: none !important;
}

[class*="text-block"].heading,
[class*="text-block"][class*="title"],
[class*="text-block"][class*="heading"] {
  text-transform: initial !important;
}

/* Fix auto-capitalization for description texts */
[data-i18n="hero.description"],
[data-i18n="sections.aiDescription"],
[data-i18n="sections.livingPrototypesDesc"],
[data-i18n="sections.successStoriesDesc"],
[data-i18n="sections.vision2035Desc"],
[data-i18n="about.description"] {
  text-transform: none !important;
}

/* Fix auto-capitalization for prototype and case study descriptions */
[data-i18n*=".description"],
.case-card p,
.prototype-card p,
.ai-tool-card p,
.testimonial-card p {
  text-transform: none !important;
}

/* Ensure proper sentence case for all paragraph content */
p, 
.description,
.challenge,
.solution,
div[class*="text-block"]:not(.heading):not(.title) {
  text-transform: none !important;
}

/* Preserve title capitalization where appropriate */
.heading-19,
.heading-20, 
.heading-21,
.heading-22,
.heading-23,
.heading-24,
.neon-text,
h1, h2, h3, h4, h5, h6 {
  text-transform: initial;
}

/* Navigation should remain clean */
.nav-link-2,
.footer-link-two {
  text-transform: none !important;
}

/* 🎯 Navigation Link Hover Underline Effect */
.nav-link-2 {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-link-2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--quantum-blue));
  transition: width 0.3s ease;
}

.nav-link-2:hover::after {
  width: 100%;
}

.nav-link-2:hover {
  color: var(--neon-purple);
}

/* 🎛️ Navigation Toggles Container */
.nav-toggles-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 15px;
}

/* 📱 Dark Mode Toggle - Moon/Sun Icons */
.dark-mode-toggle {
  position: relative;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* TEMPORARILY DISABLED - Remove line below to re-enable dark mode toggle */
  display: none !important;
}

.dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(128, 0, 255, 0.4);
  transform: scale(1.1);
}

.dark-mode-toggle .sun-icon,
.dark-mode-toggle .moon-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ai-green);
}

/* Sun icon - visible by default (light mode) */
.dark-mode-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Moon icon - hidden by default */
.dark-mode-toggle .moon-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
  color: var(--quantum-blue);
}

/* Active state (dark mode) */
.dark-mode-toggle.active {
  background: linear-gradient(135deg, var(--neon-purple), var(--quantum-blue));
  border-color: var(--quantum-blue);
}

.dark-mode-toggle.active .sun-icon {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

.dark-mode-toggle.active .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Hover animation - rotate icons */
.dark-mode-toggle:hover .sun-icon {
  animation: sunPulse 0.6s ease-in-out;
}

.dark-mode-toggle:hover .moon-icon {
  animation: moonPulse 0.6s ease-in-out;
}

@keyframes sunPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

@keyframes moonPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-180deg) scale(1.2); }
}

/* When hovering in dark mode */
.dark-mode-toggle.active:hover .moon-icon {
  filter: drop-shadow(0 0 8px var(--quantum-blue));
}

/* When hovering in light mode */
.dark-mode-toggle:not(.active):hover .sun-icon {
  filter: drop-shadow(0 0 8px var(--ai-green));
}

/* Language Toggle Styling */
.language-toggle-container {
  position: relative;
  z-index: 100;
}

.language-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--neon-purple);
}

.language-toggle option {
  background: var(--dark-bg);
  color: white;
}

/* Mobile Responsiveness for Toggles */
@media screen and (max-width: 991px) {
  .nav-toggles-container {
    justify-content: center;
    margin: 20px 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   🎯 SERVICES SECTION - Purple Brand Theme (Matching Booklet)
   ═══════════════════════════════════════════════════════════════ */

.kleverr-services {
  background: linear-gradient(135deg, #6B46C1 0%, #553C9A 50%, #4C1D95 100%);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.kleverr-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Services Header */
.services-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease;
}

.services-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(139, 92, 246, 0.4);
}

.services-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category Tabs */
.service-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.category-tab {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.category-tab.active {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  border-color: #A78BFA;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Service Card */
.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease both;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

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

/* Stagger animation for cards */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }

/* Service Icon */
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: #FFFFFF;
  stroke-width: 2px;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
}

/* AI Service Variant */
.ai-service .service-icon.ai-icon {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  position: relative;
}

.ai-service .service-icon.ai-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  border-radius: 15px;
  opacity: 0;
  z-index: -1;
  filter: blur(10px);
  transition: opacity 0.3s ease;
}

.ai-service:hover .service-icon.ai-icon::after {
  opacity: 0.7;
  animation: pulse 2s infinite;
}


/* Service Name */
.service-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Service Description */
.service-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 25px;
  min-height: 80px;
}

/* Service CTA */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #A78BFA;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin-top: auto;
}

.service-cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
  transition: width 0.3s ease;
}

.service-cta:hover::after {
  width: calc(100% - 30px);
}

.service-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.service-cta:hover {
  color: #FFFFFF;
  gap: 12px;
}

.service-cta:hover svg {
  transform: translateX(4px);
}

/* Services Footer CTA */
.services-footer {
  text-align: center;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.services-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.services-main-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
  gap: 16px;
}

.services-main-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.services-main-cta:hover svg {
  transform: translateX(4px);
}

.services-footer-text {
  color: #FFFFFF !important;
  margin-top: 16px;
  font-size: 16px;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   📱 RESPONSIVE DESIGN - Services Section
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media screen and (max-width: 991px) {
  .services-title {
    font-size: 2.5rem;
  }

  .services-subtitle {
    font-size: 1.1rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .service-card {
    padding: 30px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .kleverr-services {
    padding: 60px 15px;
  }

  .services-header {
    margin-bottom: 40px;
  }

  .services-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .services-subtitle {
    font-size: 1rem;
  }

  .service-categories {
    gap: 10px;
    margin-bottom: 35px;
  }

  .category-tab {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-icon svg {
    width: 25px;
    height: 25px;
  }

  .service-name {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.95rem;
    min-height: auto;
  }

  .services-main-cta {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  .services-title {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 20px;
  }
}

/* Dark Mode Support for Services */
.dark-mode .service-card {
  background: rgba(10, 14, 39, 0.6);
  border-color: rgba(139, 92, 246, 0.3);
}

.dark-mode .service-card:hover {
  background: rgba(10, 14, 39, 0.8);
  border-color: rgba(167, 139, 250, 0.6);
}

.dark-mode .category-tab {
  background: rgba(10, 14, 39, 0.5);
  border-color: rgba(139, 92, 246, 0.3);
}

.dark-mode .category-tab:hover {
  background: rgba(10, 14, 39, 0.7);
  border-color: rgba(139, 92, 246, 0.5);
}
/* ═══════════════════════════════════════════════════════════════
   🎯 PORTFOLIO/SUCCESS STORIES SECTION - Subtle Purple Brand
   ═══════════════════════════════════════════════════════════════ */

.portfolio-section {
  background: linear-gradient(135deg, #F3F4F6 0%, #E9D5FF 30%, #DDD6FE 70%, #F3F4F6 100%);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Portfolio Header */
.portfolio-header {
  text-align: center;
  margin-bottom: 70px;
  animation: fadeInUp 0.8s ease;
}

.portfolio-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #4C1D95;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.portfolio-subtitle {
  font-size: 1.25rem;
  color: #6B46C1;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 35px;
  margin-bottom: 60px;
}

/* Project Card */
.project-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(107, 70, 193, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease both;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 70, 193, 0.15);
}

/* Stagger animation */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.15s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.25s; }
.project-card:nth-child(5) { animation-delay: 0.3s; }
.project-card:nth-child(6) { animation-delay: 0.35s; }

/* Project Image */
.project-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #E9D5FF, #DDD6FE);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(107, 70, 193, 0.05) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
}

/* Industry Badges */
.industry-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #6B46C1;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(107, 70, 193, 0.15);
}

.industry-badge.healthcare {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  color: white;
}

.industry-badge.ecommerce {
  background: linear-gradient(135deg, #6B46C1, #8B5CF6);
  color: white;
}

.industry-badge.finance {
  background: linear-gradient(135deg, #553C9A, #6B46C1);
  color: white;
}

.industry-badge.education {
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  color: #4C1D95;
}

.industry-badge.realestate {
  background: linear-gradient(135deg, #7C3AED, #8B5CF6);
  color: white;
}

.industry-badge.hospitality {
  background: linear-gradient(135deg, #6D28D9, #7C3AED);
  color: white;
}

/* Project Info */
.project-info {
  padding: 30px;
}

.project-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4C1D95;
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-description {
  font-size: 1rem;
  color: #6B46C1;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 48px;
}

/* Project Metrics */
.project-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.project-metrics .metric {
  background: #F3F4F6;
  color: #6B46C1;
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #E9D5FF;
}

/* Tech Stack */
.tech-stack {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #8B5CF6;
  font-size: 0.9rem;
}

.tech-stack .tech-icon {
  width: 18px;
  height: 18px;
  color: #6B46C1;
}

/* View Project Button */
.view-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6B46C1, #8B5CF6);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.2);
}

.view-project-btn:hover {
  background: linear-gradient(135deg, #553C9A, #6B46C1);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(107, 70, 193, 0.3);
  gap: 14px;
}

.view-project-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.view-project-btn:hover svg {
  transform: translateX(3px);
}

/* Portfolio Footer */
.portfolio-footer {
  text-align: center;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(107, 70, 193, 0.25);
}

.portfolio-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(107, 70, 193, 0.35);
  gap: 16px;
}

.portfolio-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.portfolio-cta:hover svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   📱 RESPONSIVE DESIGN - Portfolio Section
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media screen and (max-width: 991px) {
  .portfolio-title {
    font-size: 2.5rem;
  }

  .portfolio-subtitle {
    font-size: 1.1rem;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
  }

  .project-image {
    height: 220px;
  }

  .project-info {
    padding: 25px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .portfolio-section {
    padding: 60px 15px;
  }

  .portfolio-header {
    margin-bottom: 50px;
  }

  .portfolio-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .portfolio-subtitle {
    font-size: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-image {
    height: 200px;
  }

  .project-info {
    padding: 20px;
  }

  .project-name {
    font-size: 1.3rem;
  }

  .project-description {
    font-size: 0.95rem;
    min-height: auto;
  }

  .view-project-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .portfolio-cta {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  .portfolio-title {
    font-size: 1.75rem;
  }

  .project-metrics .metric {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  .tech-stack {
    font-size: 0.85rem;
  }
}

/* Dark Mode Support for Portfolio */
.dark-mode .portfolio-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 30%, #3d2687 70%, #1a1a2e 100%);
}

.dark-mode .project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.dark-mode .project-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(167, 139, 250, 0.4);
}

.dark-mode .project-name {
  color: #E9D5FF;
}

.dark-mode .project-description {
  color: #DDD6FE;
}

.dark-mode .project-metrics .metric {
  background: rgba(139, 92, 246, 0.15);
  color: #C4B5FD;
  border-color: rgba(139, 92, 246, 0.3);
}

.dark-mode .tech-stack {
  color: #C4B5FD;
}

/* ========================================
   🎯 STREAMLINED FOOTER - Purple Brand
   ======================================== */

.kleverr-footer {
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  padding: 80px 0 0;
  color: #E2E8F0;
  position: relative;
  overflow: hidden;
}

.kleverr-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6B46C1, #8B5CF6, #A78BFA, #6B46C1);
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Footer Main Grid */
.footer-wrapper-new {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

/* Column 1: Brand */
.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-img {
  max-width: 180px;
  height: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Purple glow hover effect on footer logo */
.footer-logo:hover .footer-logo-img {
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6))
          drop-shadow(0 0 40px rgba(139, 92, 246, 0.3))
          brightness(1.1);
  transform: scale(1.02);
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: #CBD5E0;
  margin: 0;
  max-width: 400px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #A78BFA;
  margin: 0 0 16px 0;
}

.footer-location-list {
  font-size: 14px;
  line-height: 1.8;
  color: #CBD5E0;
  margin: 0;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #E2E8F0;
  margin: 8px 0 0 0;
}

.footer-icon {
  width: 16px;
  height: 16px;
  color: #8B5CF6;
}

/* Column 2 & 3: Links */
.footer-links-column,
.footer-cta-column {
  display: flex;
  flex-direction: column;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 15px;
  color: #CBD5E0;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
  position: relative;
  display: inline-block;
}

/* Nav-style underline effect for footer links */
.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6, #A78BFA);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link:hover {
  color: #A78BFA;
}

.footer-cta-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #E2E8F0;
  text-decoration: none;
  padding: 10px 0;
  transition: all 0.3s ease;
  position: relative;
}

/* Nav-style underline effect for footer CTA links */
.footer-cta-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6, #A78BFA);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-cta-link:hover::after {
  width: 100%;
}

.footer-cta-link:hover {
  color: #A78BFA;
}

.footer-icon-inline {
  width: 18px;
  height: 18px;
  color: #8B5CF6;
}

/* Footer Bottom - Compact Version with Minimal Social Icons */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding: 16px 0;
}

.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-size: 11px;
  color: #A0AEC0;
  margin: 0;
  opacity: 0.8;
}

/* Minimal Social Icons - Bottom Left */
.footer-social-minimal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(160, 174, 192, 0.2);
  border-radius: 50%;
  color: #A0AEC0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
}

.social-icon-minimal:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.2);
}

.social-icon-minimal i,
.social-icon-minimal svg {
  width: 14px;
  height: 14px;
  color: inherit;
}

/* LinkedIn Hover */
.social-icon-minimal[aria-label="LinkedIn"]:hover {
  background: rgba(0, 119, 181, 0.1);
  border-color: #0077B5;
  color: #0077B5;
}

/* X (Twitter) Hover */
.social-icon-minimal[aria-label="X"]:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #E2E8F0;
  color: #E2E8F0;
}

/* Legal Links */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-link {
  font-size: 11px;
  color: #A0AEC0;
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-legal-link:hover {
  color: #A78BFA;
  opacity: 1;
}

.footer-separator {
  color: #4A5568;
  font-size: 11px;
  opacity: 0.6;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .footer-wrapper-new {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 30px 50px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .kleverr-footer {
    padding: 60px 0 0;
  }
}

@media screen and (max-width: 767px) {
  .footer-wrapper-new {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px 40px;
  }

  .footer-brand-column {
    text-align: center;
    align-items: center;
  }

  .footer-tagline,
  .footer-location-list {
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-section-title {
    text-align: center !important;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    align-items: center;
  }

  .footer-bottom-left {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .footer-copyright,
  .footer-legal-link,
  .footer-separator {
    font-size: 10px;
  }

  .footer-bottom {
    padding: 12px 0;
  }

  .kleverr-footer {
    padding: 40px 0 0;
  }
}

@media screen and (max-width: 480px) {
  .footer-logo-img {
    max-width: 140px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-section-title {
    font-size: 13px;
  }

  .footer-link,
  .footer-cta-link {
    font-size: 14px;
  }

  .newsletter-title {
    font-size: 18px;
  }

  .footer-copyright,
  .footer-legal-link,
  .footer-separator {
    font-size: 9px;
  }

  .social-icon-minimal {
    width: 24px;
    height: 24px;
  }

  .social-icon-minimal i,
  .social-icon-minimal svg {
    width: 13px;
    height: 13px;
  }

  .footer-bottom-left {
    gap: 10px;
  }

  .footer-bottom {
    padding: 10px 0;
    background: transparent !important;
  }
}

/* Dark Mode Support */
body.dark-mode .kleverr-footer {
  background: linear-gradient(135deg, #0F1419 0%, #06090C 100%);
}

/* ========================================
   📱 MOBILE CENTER ALIGNMENT - ALL CONTENT
   ======================================== */

@media screen and (max-width: 767px) {
  /* Hero Section - Center Everything */
  .heading-19 {
    text-align: center !important;
    margin-top: 65px !important;
  }

  .text-block-34,
  .text-block-35 {
    text-align: center !important;
  }

  .div-block-45,
  .div-block-46,
  .div-block-47 {
    align-items: center;
    justify-content: center;
  }

  .button-4,
  .link-block-7 {
    margin-left: auto;
    margin-right: auto;
  }

  /* Section Headings - Center All */
  .heading-20,
  .heading-21,
  .heading-22,
  .heading-23 {
    text-align: center !important;
  }

  .text-block-37,
  .text-block-41 {
    text-align: center !important;
  }

  .div-block-52 {
    align-items: center;
    text-align: center;
  }

  /* Services Section - Center Everything */
  .services-header,
  .services-title,
  .services-subtitle {
    text-align: center;
  }

  .service-categories {
    justify-content: center;
  }

  .service-card {
    text-align: center;
  }

  .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .service-name,
  .service-description {
    text-align: center;
  }

  .service-cta {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .services-footer {
    text-align: center;
    justify-content: center;
  }

  .services-main-cta {
    margin-left: auto;
    margin-right: auto;
  }

  .services-footer-text {
    font-size: 14px;
    margin-top: 12px;
  }

  /* Portfolio Section - Center Everything */
  .portfolio-header,
  .portfolio-title,
  .portfolio-subtitle {
    text-align: center;
  }

  .project-card {
    text-align: center;
  }

  .project-name,
  .project-description {
    text-align: center;
  }

  .project-metrics,
  .tech-stack {
    justify-content: center;
  }

  .view-project-btn {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .portfolio-footer {
    text-align: center;
    justify-content: center;
  }

  /* All CTAs and Buttons - Center */
  .link-block-6,
  .get_in_touch,
  .learn-more-btn,
  .first_learn {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  /* Generic Center Alignment for Mobile */
  h1, h2, h3, h4, h5, h6 {
    text-align: center;
  }

  p {
    text-align: center;
  }

  .div-block-50 h2 {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  /* Extra Small Mobile - Even More Centered */
  .heading-19 {
    font-size: 2rem !important;
    text-align: center !important;
  }

  .text-block-34 {
    font-size: 14px !important;
    text-align: center !important;
  }

  .services-title {
    font-size: 1.8rem !important;
  }

  .portfolio-title {
    font-size: 1.8rem !important;
  }
}

/* ========================================
   ⬇️ ANIMATED SCROLL INDICATOR
   ======================================== */

/* Scroll Down Arrow Animation */
.link-block-7 {
  animation: bounceArrow 2s ease-in-out infinite;
}

.link-block-7 img {
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Hover state - pause animation */
.link-block-7:hover {
  animation-play-state: paused;
}

.link-block-7:hover img {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* ========================================
   📱 FOOTER ACCORDION - MOBILE ONLY
   ======================================== */

/* Desktop: Hide accordion functionality, show all content */
@media screen and (min-width: 768px) {
  /* Hide accordion chevron icon on desktop */
  .footer-accordion-icon {
    display: none;
  }
}

/* Accordion functionality - Mobile Only */
@media screen and (max-width: 767px) {

  /* Footer Accordion Section */
  .footer-accordion-section {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .footer-accordion-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
  }

  /* Accordion Header - Clickable */
  .footer-accordion-header {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 12px 0;
    margin-bottom: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center !important;
  }

  .footer-accordion-header:hover {
    color: #8B5CF6;
  }

  /* Accordion Icon */
  .footer-accordion-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 8px;
  }

  /* Rotate icon when details is open */
  details[open] > .footer-accordion-header .footer-accordion-icon {
    transform: rotate(180deg);
    color: #8B5CF6;
  }

  /* Footer Navigation - Mobile Accordion */
  .footer-accordion-section .footer-nav {
    padding-top: 8px;
  }

  /* Footer Links - Better spacing in accordion */
  .footer-accordion-section .footer-link,
  .footer-accordion-section .footer-cta-link {
    padding: 8px 0;
    display: block;
  }

  /* Footer Tagline - Always visible, not part of accordion */
  .footer-tagline {
    margin-bottom: 16px;
    display: block;
  }

  /* Footer Logo - Always visible */
  .footer-logo {
    margin-bottom: 12px;
  }

  /* Footer Wrapper - Stack columns on mobile */
  .footer-wrapper-new {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Footer Contact Section in Accordion */
  .footer-contact {
    margin-top: 0;
  }

  .footer-contact .footer-accordion-content {
    padding-left: 0;
  }

  /* Social Icons - Mobile positioning */
  .footer-social-minimal {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
  }

  .footer-bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  /* Legal Links - Center on mobile */
  .footer-legal-links {
    justify-content: center;
  }
}

/* Native <details> element styles for mobile */
@media screen and (max-width: 767px) {
  /* Remove default details marker */
  details.footer-accordion-section > summary,
  details.footer-contact > summary {
    list-style: none;
  }

  details.footer-accordion-section > summary::-webkit-details-marker,
  details.footer-contact > summary::-webkit-details-marker {
    display: none;
  }

  /* Ensure summary is clickable on mobile */
  details.footer-accordion-section > summary,
  details.footer-contact > summary {
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
  }

  /* Rotate chevron when open */
  details[open] .footer-accordion-icon {
    transform: rotate(180deg);
    color: #8B5CF6;
  }

  /* Show content when open */
  details[open] > .footer-accordion-content,
  details[open] > nav.footer-accordion-content {
    padding-top: 8px;
  }
}

/* Desktop - Ensure no accordion behavior */
@media screen and (min-width: 768px) {

  /* Hide accordion icons on desktop */
  .footer-accordion-icon {
    display: none;
  }

  /* Ensure content is always visible on desktop */
  .footer-accordion-content {
    max-height: none !important;
    overflow: visible !important;
  }

  /* Keep nav flex layout intact */
  nav.footer-accordion-content {
    display: flex !important;
  }

  /* Force details to stay open on desktop */
  details.footer-accordion-section,
  details.footer-contact {
    pointer-events: auto;
  }

  details.footer-accordion-section > summary::after,
  details.footer-contact > summary::after {
    display: none;
  }
}

/* ============================================
   🎯 SUCCESS STORIES CAROUSEL
   CSS Scroll Snap Gallery with Metrics Focus
   ============================================ */

/* Section Container */
.success-stories-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
  position: relative;
  overflow: hidden;
}

.success-stories-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section Header */
.success-stories-header {
  text-align: center;
  margin-bottom: 60px;
}

.success-stories-title {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.success-stories-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Floating Navigation Arrows */

.carousel-floating-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  z-index: 10;
  opacity: 0.6;
  pointer-events: auto;
}

.success-stories-container:hover .carousel-floating-arrow,
.carousel-floating-arrow:hover {
  opacity: 1;
}

.carousel-floating-arrow.prev-arrow {
  left: 20px;
}

.carousel-floating-arrow.next-arrow {
  right: 20px;
}

/* Smooth animation when arrows become visible */
@media (min-width: 992px) {
  .carousel-floating-arrow {
    animation: fadeInArrow 0.4s ease-out;
  }

  @keyframes fadeInArrow {
    from {
      opacity: 0;
      transform: translateY(-50%) scale(0.8);
    }
    to {
      opacity: 0.6;
      transform: translateY(-50%) scale(1);
    }
  }
}

.carousel-floating-arrow:hover {
  background: linear-gradient(135deg, #6B46C1 0%, #8000FF 100%);
  border-color: #8000FF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 32px rgba(128, 0, 255, 0.5);
}

.carousel-floating-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-floating-arrow:disabled {
  opacity: 0.2 !important;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.05) !important;
}

.carousel-floating-arrow i {
  width: 28px;
  height: 28px;
}

/* Horizontal Scroll Container - CSS SCROLL SNAP */
.success-stories-carousel {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 20px 0 40px;
}

.success-stories-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

/* Story Card */
.story-card {
  flex: 0 0 min(900px, 90vw);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6B46C1 0%, #8000FF 50%, #6B46C1 100%);
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

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

.story-card:hover {
  transform: translateY(-8px);
  border-color: rgba(128, 0, 255, 0.3);
  box-shadow: 0 20px 60px rgba(128, 0, 255, 0.2);
}

/* Story Header */
.story-header {
  margin-bottom: 32px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.industry-tag.healthcare {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.industry-tag.ecommerce {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.industry-tag.finance {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.industry-tag.education {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.industry-tag i {
  width: 16px;
  height: 16px;
}

.client-name {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Story Visual */
.story-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  height: 320px;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover .story-visual img {
  transform: scale(1.05);
}

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.stats-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.stats-badge i {
  width: 20px;
  height: 20px;
  color: #00ff88;
}

/* Story Metrics - THE HERO */
.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  padding: 32px;
  background: rgba(128, 0, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(128, 0, 255, 0.2);
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
}

.metric-item:last-child::after {
  display: none;
}

.metric-value {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, #8000FF 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Story Content */
.story-content {
  margin-bottom: 32px;
}

.story-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.story-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-pill:hover {
  background: rgba(128, 0, 255, 0.15);
  border-color: rgba(128, 0, 255, 0.3);
  color: #a78bfa;
}

/* Story Actions */
.story-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.story-cta {
  flex: 1;
  min-width: 200px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

.story-cta i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.story-cta.primary {
  background: linear-gradient(135deg, #6B46C1 0%, #8000FF 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(128, 0, 255, 0.3);
}

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

.story-cta.primary:hover i {
  transform: translateX(4px);
}

.story-cta.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.2);
}

.carousel-dots .dot.active {
  background: linear-gradient(135deg, #6B46C1 0%, #8000FF 100%);
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(128, 0, 255, 0.4);
}

/* Carousel Footer */
.carousel-footer {
  text-align: center;
  margin-top: 60px;
}

.view-all-projects-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-all-projects-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #8000FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(128, 0, 255, 0.2);
}

.view-all-projects-btn i {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.view-all-projects-btn:hover i {
  transform: translateX(4px);
}

/* ============================================
   📱 MOBILE RESPONSIVE - VERTICAL STACK
   ============================================ */

@media (max-width: 991px) {
  .success-stories-section {
    padding: 40px 0;
  }

  .success-stories-container {
    padding: 0 20px;
  }

  .success-stories-header {
    margin-bottom: 32px;
  }

  .success-stories-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .success-stories-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  /* Hide floating arrows on tablet/mobile */
  .carousel-floating-arrow {
    display: none;
  }

  /* Vertical stack on mobile */
  .success-stories-carousel {
    flex-direction: column;
    gap: 32px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .story-card {
    flex: 1 1 auto;
    width: 100%;
    scroll-snap-align: none;
    padding: 24px;
  }

  .story-visual {
    height: 240px;
  }

  .story-metrics {
    padding: 24px 16px;
    gap: 16px;
  }

  .metric-value {
    font-size: 40px;
  }

  .metric-label {
    font-size: 11px;
  }

  .story-title {
    font-size: 22px;
  }

  .story-description {
    font-size: 15px;
  }

  .story-actions {
    flex-direction: column;
  }

  .story-cta {
    width: 100%;
    min-width: auto;
  }

  /* Hide navigation on mobile (vertical scroll) */
  .carousel-dots {
    display: none;
  }
}

@media (max-width: 767px) {
  .success-stories-title {
    font-size: 28px;
  }

  .story-card {
    padding: 20px;
  }

  .story-visual {
    height: 200px;
  }

  .story-metrics {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metric-item::after {
    display: none;
  }

  .metric-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .metric-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .client-name {
    font-size: 18px;
  }

  .story-title {
    font-size: 20px;
  }

  /* Hide carousel on mobile - show only Coming Soon overlay */
  .success-stories-carousel {
    display: none;
  }

  /* Make overlay standalone on mobile (not absolute) */
  .coming-soon-overlay {
    position: relative;
    min-height: 400px;
    height: auto;
  }

  /* Compact section height on mobile */
  .success-stories-section {
    min-height: auto;
    padding: 60px 0;
  }
}

/* ============================================
   COMING SOON OVERLAY
   ============================================ */

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 14, 39, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px 20px;
}

.coming-soon-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.15) 0%,
    rgba(128, 0, 255, 0.1) 50%,
    rgba(107, 70, 193, 0.15) 100%
  );
  border: 2px solid rgba(128, 0, 255, 0.4);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(128, 0, 255, 0.2),
              0 0 80px rgba(128, 0, 255, 0.1);
  animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(128, 0, 255, 0.2),
                0 0 80px rgba(128, 0, 255, 0.1);
  }
  50% {
    box-shadow: 0 12px 40px rgba(128, 0, 255, 0.3),
                0 0 100px rgba(128, 0, 255, 0.15);
  }
}

.coming-soon-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: #8000FF;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 20px rgba(128, 0, 255, 0.5));
}

.coming-soon-title {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
  text-shadow: 0 0 20px rgba(128, 0, 255, 0.3);
}

.coming-soon-description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.coming-soon-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #6B46C1 0%, #8000FF 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(128, 0, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.coming-soon-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(128, 0, 255, 0.5);
  background: linear-gradient(135deg, #7B56D1 0%, #9010FF 100%);
}

.coming-soon-cta i {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.coming-soon-cta:hover i {
  transform: translateX(4px);
}

/* For Case Studies Page - Position relative to projects-section */
.projects-section {
  position: relative;
  min-height: 600px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .coming-soon-content {
    padding: 29px 17px;
    max-width: 65%;
    transform: translateY(-10%);
  }

  .coming-soon-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
  }

  .coming-soon-title {
    font-size: 17px;
    margin-bottom: 9px;
  }

  .coming-soon-description {
    font-size: 12px;
    margin-bottom: 17px;
  }

  .coming-soon-cta {
    padding: 10px 20px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .coming-soon-title {
    font-size: 16px;
  }

  .coming-soon-description {
    font-size: 11px;
  }

  .coming-soon-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */

/* Mobile Language Toggle */
.mobile-lang-toggle {
  display: none;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 10px;
}

.lang-btn {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
  .mobile-lang-toggle {
    display: flex;
  }

  .nav-menu-wrapper-2 {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: rgba(10, 5, 20, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(128, 0, 255, 0.3);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-menu-wrapper-2.w--open {
    display: flex !important;
    transform: translateX(0);
  }

  /* Header Area */
  .nav-head {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .side-nav-logo {
    width: 28px;
    height: 28px;
  }

  .nav-head a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
  }

  .nav-head a:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .nav-head a img {
    width: 14px;
    height: 14px;
    opacity: 0.7;
  }

  /* Menu Items */
  .nav-menu-2 {
    padding: 12px 10px;
    margin: 0;
    flex: 1;
    overflow-y: auto;
  }

  .list-item-13,
  .list-item-16 {
    margin: 2px 0;
  }

  .nav-link-2 {
    display: block;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .nav-link-2:hover {
    background: rgba(128, 0, 255, 0.15);
    color: #fff;
    padding-left: 18px;
  }

  /* Toggles Container */
  .nav-toggles-container {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .dark-mode-toggle {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-menu-wrapper-2 .language-toggle-container {
    display: block !important;
  }

  .language-toggle {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
  }

  /* CTA Button */
  .nav_btn {
    margin: 12px 20px 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #8000FF 0%, #6000CC 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(128, 0, 255, 0.3);
    flex-shrink: 0;
  }

  .nav_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 255, 0.4);
  }

  .nav_btn .image-15 {
    width: 12px;
    height: 12px;
  }

  .w-nav-button {
    display: flex !important;
    cursor: pointer;
  }
}

@media (min-width: 992px) {
  .w-nav-button {
    display: none !important;
  }

  .mobile-lang-toggle {
    display: none !important;
  }
}

/* ==========================================
   CONSOLIDATED NAVIGATION STYLES
   Single Source of Truth for All Pages
   ========================================== */

/* Base navbar styling - applies to all pages */
.navbar-no-shadow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.navbar-no-shadow-container-2,
.navbar-wrapper-2,
div.navbar-no-shadow,
.w-nav {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Show underline for current/active page (all nav styles) */
.nav-link-2.w--current::after {
    width: 100% !important;
}

/* Style 1: Dark Hero Image (About page) */
.navbar-dark-hero {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%) !important;
}

.navbar-dark-hero .nav-link-2 {
    color: #fff !important;
}

.navbar-dark-hero .nav-link-2:hover {
    color: #fff !important;
}

.navbar-dark-hero .nav-link-2.w--current {
    color: #fff !important;
}

/* Style 2: Light Background (Services page) */
.navbar-light-bg .nav-link-2 {
    color: #2B1343 !important;
}

.navbar-light-bg .nav-link-2:hover {
    color: #6B46C1 !important;
}

.navbar-light-bg .nav-link-2.w--current {
    color: #6B46C1 !important;
}

.navbar-light-bg .nav_btn,
.navbar-light-bg .nav_main_btn {
    background-color: #6B46C1 !important;
    color: #fff !important;
}

.navbar-light-bg .navbar-brand-2 .image-16 {
    filter: brightness(0) saturate(100%) invert(11%) sepia(45%) saturate(2817%) hue-rotate(260deg) brightness(92%) contrast(98%) !important;
}

.navbar-light-bg .language-toggle {
    color: #2B1343 !important;
    background-color: transparent !important;
    border: 1px solid #2B1343 !important;
}

.navbar-light-bg .language-toggle option {
    color: #000 !important;
    background-color: #fff !important;
}

/* Style 3: Purple Background (Case Studies, Contact pages) */
.navbar-purple-bg .nav-link-2 {
    color: #fff !important;
}

.navbar-purple-bg .nav-link-2:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-purple-bg .nav-link-2.w--current {
    color: #fff !important;
}

.navbar-purple-bg .navbar-brand-2 .image-16 {
    filter: brightness(0) invert(1) !important;
}

.navbar-purple-bg .language-toggle {
    color: #fff !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.navbar-purple-bg .language-toggle option {
    color: #000 !important;
    background-color: #fff !important;
}

/* Mobile menu styling (applies to all nav styles) */
@media screen and (max-width: 991px) {
    .nav-menu-wrapper-2,
    .nav-menu-2 {
        background: #2B1343 !important;
        background-color: #2B1343 !important;
    }

    .nav-link-2 {
        color: #fff !important;
    }
}
