/* Custom CSS for Consult Plus Financial Advisory */

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

:root {
  --primary-navy: #012831;
  --primary-navy-deep: #00181e;
  --primary-navy-light: #063c47;
  --primary-teal: #008cac;
  --primary-teal-dark: #00708a;
  --primary-teal-light: #33a9c4;
  --accent-yellow: #ffe600;
  --accent-yellow-hover: #ffd200;
  --accent-gold: #f59e0b;
  --bg-ice-blue: #f4f9fb;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  background-color: #f4f9fb;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Gradients - Direct Lending Style */
.bg-gradient-corporate {
  background: linear-gradient(135deg, #012831 0%, #033945 55%, #008cac 100%);
}

.bg-gradient-teal {
  background: linear-gradient(135deg, #012831 0%, #008cac 100%);
}

.bg-gradient-yellow {
  background: linear-gradient(135deg, #ffe600 0%, #ffd200 100%);
}

.bg-navy-direct {
  background-color: #012831;
}

.text-navy-direct {
  color: #012831;
}

.text-teal-direct {
  color: #008cac;
}

.btn-yellow {
  background-color: #ffe600;
  color: #012831;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn-yellow:hover {
  background-color: #ffd200;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 230, 0, 0.4);
}

.btn-teal {
  background-color: #008cac;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-teal:hover {
  background-color: #00708a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 140, 172, 0.35);
}

.card-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.card-glass-dark {
  background: rgba(1, 40, 49, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Slider custom styles */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #008cac;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 140, 172, 0.4);
  border: 3px solid #ffffff;
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #00708a;
}

/* =========================================
   ANIMATION SUITE (SCROLL & UI TRANSITIONS)
   ========================================= */

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(5, 150, 105, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-ring 2.5s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float-slow 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-slow 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.28;
    transform: scale(1.08);
  }
}

.animate-glow {
  animation: glow-pulse 6s ease-in-out infinite;
}

/* Entrance Animations (Always Visible & Smooth) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-up {
  opacity: 1;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in {
  opacity: 1;
  animation: fadeIn 0.6s ease-out both;
}

.animate-slide-left {
  opacity: 1;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-slide-right {
  opacity: 1;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger Delays for Grid Elements */
.delay-100 { animation-delay: 80ms; }
.delay-200 { animation-delay: 160ms; }
.delay-300 { animation-delay: 240ms; }
.delay-400 { animation-delay: 320ms; }

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

.hover-elevate:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Accordion animation */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.active {
  max-height: 1000px;
  transition: max-height 0.4s ease-in-out;
}

/* Custom Table Styles */
.finance-table tr:nth-child(even) {
  background-color: #f8fafc;
}
.finance-table tr:hover {
  background-color: #f0fdf4;
}

/* Sticky Header Transition */
.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}
