/* ===================================================================
   CV FORTECH INDOASIA - Official Stylesheet
   Design Identity:
   - Primary: Deep Corporate Navy (#0A1C38, #0E3371)
   - Secondary / Medical Teal: (#149B89, #108070)
   - Warm Brand Accent: (#F37023, #EA580C)
   - Backgrounds: Clean White (#FFFFFF) & Soft Enterprise Slate (#F8FAFC)
   - Typography: Plus Jakarta Sans & Inter (Formal, Elegant, Balanced)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-navy-dark: #070F1E;
  --color-navy-deep: #0A1C38;
  --color-navy-primary: #0E3371;
  --color-teal-accent: #149B89;
  --color-teal-light: #2DD4BF;
  --color-orange-accent: #F37023;
  --color-orange-light: #FB923C;
  --color-slate-bg: #F8FAFC;
  --color-text-title: #0A1C38;
  --color-text-body: #475569;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  min-width: 320px;
}

/* Accessible Touch Targets (WCAG 2.5.5 Min 44x44px) */
.touch-target {
  min-height: 44px;
  min-width: 44px;
}

/* Formal Corporate Typography Fine-Tuning */
h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p, li, .font-body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.011em;
  line-height: 1.7;
}

.eyebrow-badge {
  letter-spacing: 0.12em;
}

/* Custom Enterprise Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #0A1C38;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
  border: 2px solid #0A1C38;
}
::-webkit-scrollbar-thumb:hover {
  background: #149B89;
}

/* Hero Background Mesh & Lighting */
.bg-grid-mesh {
  background-image: 
    linear-gradient(to right, rgba(20, 155, 137, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 155, 137, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-radial-glow {
  background: radial-gradient(circle at 50% 15%, rgba(20, 155, 137, 0.16) 0%, rgba(10, 28, 56, 0.96) 65%, #070F1E 100%);
}

/* Interactive Card Hover Elevate */
.hover-elevate {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.hover-elevate:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(10, 28, 56, 0.09), 0 8px 16px -6px rgba(10, 28, 56, 0.05);
}

/* Flat & Clean Logo (Professional & Formal) */
.logo-flat {
  transition: opacity 0.2s ease;
}
.logo-flat:hover {
  opacity: 0.92;
}

/* Floating animation for vector elements (Desktop only to prevent mobile touch jitter) */
@media (min-width: 768px) {
  @keyframes subtle-float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-6px);
    }
  }

  .animate-subtle-float {
    animation: subtle-float 5s ease-in-out infinite;
  }
}

@media (max-width: 767px) {
  .animate-subtle-float {
    animation: none !important;
  }
}

/* WhatsApp Floating Button Pulse (Calibrated for mobile & desktop) */
@keyframes pulse-ring {
  0% {
    transform: scale(0.97);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.97);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-wa {
  animation: pulse-ring 2.4s infinite;
}

/* Pulse animation for status indicator */
@keyframes ping-gentle {
  75%, 100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.animate-ping-gentle {
  animation: ping-gentle 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Glassmorphism Classes */
.glass-nav {
  background-color: rgba(10, 28, 56, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
