/* Google Fonts Imports: Outfit for headings (bold, modern) and Inter for body (super readable) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Infosys IKI-Inspired Premium Color System */
  --white: #FFFFFF;
  --navy-deep: #06122C;    /* Deep navy for primary dark sections */
  --navy-light: #0B1C3F;   /* Lighter navy for cards and modules on dark themes */
  --navy-dark: #030A18;    /* Darkest navy for background base */
  
  --primary-blue: #0066FE; /* Corporate electric blue accent */
  --primary-teal: #00E5FF; /* High-tech neon cyan accent */
  
  --bg-light: #FFFFFF;
  --bg-gray: #F4F6F9;      /* Cool light gray for section alternate backgrounds */
  
  --text-dark: #0A0F1D;    /* Rich dark gray/blue for body copy */
  --text-muted: #4B5563;   /* Slate gray for secondary text */
  --text-light: #9CA3AF;   /* Light gray for metadata and captions */
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

body {
  background-color: var(--white);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  color: var(--navy-deep);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

::selection {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Glassmorphism Header & Components */
.glass-header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.glass-header-dark {
  background: rgba(6, 18, 44, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card-dark {
  background: rgba(11, 28, 63, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Gradient Utilities */
.bg-navy-gradient {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
}

.bg-teal-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle Aurora Background Glows (Modern alternative to old Swiss shapes) */
.aurora-glow-1 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(0, 102, 254, 0.12) 0%, rgba(0, 229, 255, 0.02) 70%, transparent 100%);
  filter: blur(60px);
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.aurora-glow-2 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0, 102, 254, 0.01) 70%, transparent 100%);
  filter: blur(50px);
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Premium Interactivity & Transitions */
.card-hover-effect {
  transition: var(--transition-smooth);
}
.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 102, 254, 0.08);
  border-color: rgba(0, 102, 254, 0.25);
}

.card-hover-effect-dark {
  transition: var(--transition-smooth);
}
.card-hover-effect-dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.3);
}

/* Slide line animations for tabs and nav links */
.nav-link-slide {
  position: relative;
}
.nav-link-slide::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}
.nav-link-slide:hover::after,
.nav-link-active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  transform: scale(1);
  opacity: 1;
}

.reveal-delay-100 { transition-delay: 0.1s; }
.reveal-delay-200 { transition-delay: 0.2s; }
.reveal-delay-300 { transition-delay: 0.3s; }
.reveal-delay-400 { transition-delay: 0.4s; }

/* Filterable insight animations */
.insight-card {
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.insight-card.hidden-item {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

/* Interactive Services Dual Pane active indicators */
.service-tab-btn {
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
}

.service-tab-btn.active {
  border-left: 3px solid var(--primary-blue);
  background-color: var(--white);
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 102, 254, 0.03);
}

.service-tab-btn.active h3 {
  color: var(--primary-blue) !important;
}

.service-pane-content {
  opacity: 0;
  transform: translateY(12px);
  display: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-pane-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Voice assistant anim states */
@keyframes voicePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.35;
  }
}

.voice-ring-animate {
  animation: voicePulse 2s infinite ease-in-out;
}

/* Cookie consent styling override */
#cookie-consent-banner {
  box-shadow: 0 -10px 30px rgba(6, 18, 44, 0.05);
  border-top: 1px solid var(--border-light) !important;
}
