/* ==========================================================================
   JC INTERNATIONALS - CORPORATE AUTOMOBILE EXPORT STYLESHEET
   Brand Colors: Material Crimson Red (#D32F2F, #B71C1C, #EF4444)
   Text: Deep Jet Black (#0F172A, #1E293B)
   Background: Bright Crisp Pure White (#FFFFFF) & Luxury Slate (#F8FAFC)
   ========================================================================== */

@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=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary-red: #D32F2F;
  --primary-red-hover: #B71C1C;
  --primary-red-light: #FFEBEE;
  --primary-gradient: linear-gradient(135deg, #E50914 0%, #D32F2F 50%, #990000 100%);
  --primary-gradient-hover: linear-gradient(135deg, #FF1E27 0%, #E50914 50%, #B71C1C 100%);
  --gold-accent: #EAB308;
  --dark-black: #0A0D14;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --bg-pure-white: #FFFFFF;
  --bg-slate-light: #F8FAFC;
  --border-light: #E2E8F0;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --shadow-red-glow: 0 10px 25px -5px rgba(211, 47, 47, 0.4), 0 8px 10px -6px rgba(211, 47, 47, 0.3);
  --shadow-card: 0 20px 30px -10px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 25px 40px -12px rgba(211, 47, 47, 0.15), 0 12px 18px -6px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-pure-white);
  color: var(--text-dark);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
.font-display {
  font-family: var(--font-display);
}

/* ==========================================================================
   NICHE BUTTON SYSTEM (Luxury Gradient + Kinetic Hover + Glow)
   ========================================================================== */
.btn-red-gradient {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 20px -5px rgba(229, 9, 20, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animated Shimmer / Sheen Layer */
.btn-red-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.7s ease;
  z-index: -1;
}

.btn-red-gradient:hover::before {
  left: 100%;
}

.btn-red-gradient:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(229, 9, 20, 0.55), 0 0 20px rgba(229, 9, 20, 0.3);
}

.btn-red-gradient:active {
  transform: translateY(-1px) scale(0.99);
}

/* Secondary Luxury Button */
.btn-outline-dark {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 9999px;
  border: 1.5px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline-dark:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -6px rgba(15, 23, 42, 0.08);
}

/* Floating WhatsApp Pulse Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  top: 0;
  left: 0;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   SCROLL REVEAL & STAGGER ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Infinite Logo & Client Banner Marquee */
.client-logo-card {
  width: 200px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  overflow: hidden;
}

.client-logo-card img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.client-logo-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px -5px rgba(211, 47, 47, 0.15);
  border-color: rgba(211, 47, 47, 0.4);
}

.marquee-track-logos {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee-logos 45s linear infinite;
}

.marquee-track-logos:hover {
  animation-play-state: paused;
}

@keyframes marquee-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Luxury Card Hover Lift */
.interactive-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.interactive-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(211, 47, 47, 0.3);
}

/* Progress bar red styling */
.progress-bar-fill {
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}
