/* Consulting Page Specific Styles */

/* Professional Hero Background */
.professional-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
  background-size: 300% 300%;
  animation: professionalGradient 20s ease infinite;
}

.subtle-overlay {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(5, 150, 105, 0.85) 100%);
}

@keyframes professionalGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Geometric Shapes */
.geometric-shapes .shape {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 { 
  width: 200px; height: 200px; 
  top: 10%; right: 10%; 
  animation-delay: 0s;
  transform: rotate(45deg);
}
.shape-2 { 
  width: 150px; height: 150px; 
  bottom: 20%; left: 5%; 
  animation-delay: 5s;
  transform: rotate(-30deg);
}
.shape-3 { 
  width: 100px; height: 100px; 
  top: 50%; left: 15%; 
  animation-delay: 10s;
  transform: rotate(60deg);
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0px) rotate(45deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(45deg); opacity: 0.6; }
}

/* Professional Grid */
.professional-grid .grid-line-pro {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.4;
}

.grid-line-pro.vertical { width: 1px; height: 100%; }
.grid-line-pro.horizontal { width: 100%; height: 1px; }

/* Professional CTA Small */
.professional-cta-primary-small {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.professional-cta-primary-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Hero Animations */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.slide-in-left {
  animation: slideInLeft 1s ease-out both;
}

.hero-gradient-text {
  animation: 
    slideInRight 1s ease-out 0.3s both,
    gradientShift 3s ease 1.3s infinite;
}

@keyframes slideInLeft {
  from { transform: translateX(-100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animated-gradient {
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Button Enhancements */
.glow-effect:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.arrow-animation {
  transition: transform 0.3s ease;
}

.hero-button:hover .arrow-animation {
  transform: translateX(5px);
}

.spin-on-hover {
  transition: transform 0.3s ease;
}

.hero-button:hover .spin-on-hover {
  transform: rotate(180deg);
}

/* Process Cards */
.process-card {
  position: relative;
}

/* Capability Cards */
.capability-card .investment-progress,
.capability-card .ai-progress,
.capability-card .market-progress {
  width: 0;
  transition: width 2s ease-in-out;
}

.capability-card:hover .investment-progress { width: 85%; }
.capability-card:hover .ai-progress { width: 92%; }
.capability-card:hover .market-progress { width: 78%; }

/* Technology Icons */
.tech-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tech-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tech-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* Tech Grid Animation */
.tech-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: techGridMove 20s linear infinite;
}

@keyframes techGridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Strategy Diagram */
.strategy-diagram {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.strategy-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #10B981, #059669);
  position: absolute;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.strategy-node:nth-child(1) { top: 20px; left: 50%; transform: translateX(-50%); }
.strategy-node:nth-child(2) { bottom: 20px; left: 20px; }
.strategy-node:nth-child(3) { bottom: 20px; right: 20px; }

.strategy-node.active {
  animation: nodeGlow 2s ease-in-out infinite;
}

@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6); transform: scale(1.1); }
}

/* Performance Metrics Visualization */
.performance-metrics {
  text-align: center;
}

.metrics-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 200px;
  margin: 0 auto;
}

.metric-bar {
  position: relative;
  background: rgba(249, 115, 22, 0.2);
  height: 30px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #F97316, #EA580C);
  border-radius: 15px;
  animation: barFillAnimation 3s ease-in-out infinite;
}

.bar-1 .bar-fill { width: 85%; animation-delay: 0s; }
.bar-2 .bar-fill { width: 78%; animation-delay: 0.5s; }
.bar-3 .bar-fill { width: 92%; animation-delay: 1s; }

.metric-label {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  color: #F97316;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

@keyframes barFillAnimation {
  0% { width: 0%; }
  50% { width: var(--target-width, 85%); }
  100% { width: var(--target-width, 85%); }
}

/* Advisory Support Visualization */
.advisory-support {
  text-align: center;
}

.support-circle {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #6366F1, #4F46E5);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.support-orbit {
  position: absolute;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 100px;
  height: 100px;
  animation: orbitRotate 8s linear infinite;
}

.orbit-2 {
  width: 140px;
  height: 140px;
  animation: orbitRotate 12s linear infinite reverse;
}

.orbit-3 {
  width: 180px;
  height: 180px;
  animation: orbitRotate 16s linear infinite;
}

@keyframes orbitRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Loading State */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #059669 50%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Customer Profile Cards */
.customer-profile-card {
  position: relative;
  overflow: hidden;
}

.customer-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.customer-profile-card:hover::before {
  left: 100%;
}

/* Service Cards */
.service-card {
  position: relative;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.btn-service-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-service-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Expertise Cards */
.expertise-card {
  transform: translateY(0);
  transition: all 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-3px);
  border: 1px solid #E5E7EB;
}

/* Tech Badges */
.tech-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  border: 1px solid #D1D5DB;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* FAQ Styles */
.faq-item {
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #E5E7EB;
}

.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #3B82F6;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #3B82F6;
}

.faq-answer {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  display: block;
}

/* Gradient Text Effects */
.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .tech-icon { width: 50px; height: 50px; }
  .tech-icon i { font-size: 20px; }
  
  .hero-section {
    padding-top: 100px !important;
  }
  
  .professional-cta-primary-small {
    min-height: 44px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap;
  }
}

