/* ==========================================================================
   VARDHANS GROUP OF LOGISTICS (VGL) — CORE DESIGN TOKENS & SYSTEM
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --vgl-navy-950: #050a14;
  --vgl-navy-900: #0a1120;
  --vgl-navy-850: #0d172b;
  --vgl-navy-800: #111f38;
  --vgl-navy-700: #1a2d4f;
  --vgl-navy-600: #253d66;

  --vgl-charcoal-900: #0f172a;
  --vgl-charcoal-800: #1e293b;
  --vgl-charcoal-700: #334155;
  --vgl-charcoal-600: #475569;

  --vgl-orange-600: #d94800;
  --vgl-orange-500: #ff5500;
  --vgl-orange-400: #ff6f1e;
  --vgl-orange-300: #ff8e47;
  --vgl-orange-soft: rgba(255, 85, 0, 0.12);
  --vgl-orange-glow: rgba(255, 85, 0, 0.4);

  --vgl-amber-500: #f59e0b;
  --vgl-amber-400: #fbbf24;
  --vgl-amber-soft: rgba(245, 158, 11, 0.12);

  --vgl-gray-50: #f8fafc;
  --vgl-gray-100: #f1f5f9;
  --vgl-gray-200: #e2e8f0;
  --vgl-gray-300: #cbd5e1;
  --vgl-gray-400: #94a3b8;
  --vgl-gray-500: #64748b;

  --vgl-white: #ffffff;
  --vgl-black: #000000;

  --vgl-success: #10b981;
  --vgl-info: #0284c7;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'SFMono-Regular', Consolas, monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 25px rgba(255, 85, 0, 0.35);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Glassmorphism */
  --glass-bg-dark: rgba(10, 17, 32, 0.75);
  --glass-bg-panel: rgba(17, 31, 56, 0.65);
  --glass-bg-light: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-orange: rgba(255, 85, 0, 0.3);
  --glass-blur: blur(16px);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container & Layout */
  --site-max-width: 1440px;
  --header-height: 84px;
  --header-height-scrolled: 68px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vgl-gray-200);
  background-color: var(--vgl-navy-950);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, var(--vgl-navy-900) 0%, var(--vgl-navy-950) 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--vgl-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--vgl-gray-300);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-wide {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Section Commons */
.section {
  position: relative;
  padding: 8.5rem 0;
  z-index: 1;
}

.section-darker {
  background-color: var(--vgl-navy-900);
  background-image: radial-gradient(circle at 10% 20%, rgba(26, 45, 79, 0.25) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(255, 85, 0, 0.05) 0%, transparent 40%);
}

.section-charcoal {
  background-color: var(--vgl-charcoal-900);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* Corporate White Sections (Visual Rhythm Alternation) */
.section-corporate-white {
  background-color: #ffffff;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-corporate-white h2,
.section-corporate-white h3,
.section-corporate-white h4 {
  color: #0a1120;
}

.section-corporate-white p {
  color: #475569;
}

.section-corporate-white .section-tag {
  background: rgba(255, 85, 0, 0.08);
  border-color: rgba(255, 85, 0, 0.28);
  color: #c2410c;
}

.section-corporate-white .section-title {
  color: #0a1120;
}

.section-corporate-white .section-title .text-gradient-orange {
  background: linear-gradient(135deg, #0a1120 40%, var(--vgl-orange-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-corporate-alt {
  background-color: #f8fafc;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-corporate-alt h2,
.section-corporate-alt h3,
.section-corporate-alt h4 {
  color: #0a1120;
}

.section-corporate-alt p {
  color: #475569;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vgl-orange-400);
  background: var(--vgl-orange-soft);
  border: 1px solid var(--glass-border-orange);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
}

.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--vgl-orange-500);
  box-shadow: 0 0 8px var(--vgl-orange-500);
}

.section-title {
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--vgl-white);
  line-height: 1.18;
}

.section-title .text-gradient-orange {
  background: linear-gradient(135deg, var(--vgl-white) 30%, var(--vgl-orange-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--vgl-gray-300);
  max-width: 680px;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
}

/* Global Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* Subtle Animated Background Grid Lines */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Animations & Transitions */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(1000%); }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -40;
  }
}

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

.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.reveal-fade.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }
}
