/* Custom Styles & Animation Engine */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #003F47;
  --color-primary-dark: #002a2f;
  --color-dark: #0A171D;
  --color-dark-card: #0d1e26;
  --color-charcoal: #0A171D;
  --color-gray-50: #F8F9FA;
  --color-slate-50: #F1F5F9;
  --color-muted: #6B7280;
  --color-muted-light: #9CA3AF;
  --color-border-subtle: #E5E7EB;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-gray-50);
  color: var(--color-charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-heading {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.01em;
}

h1, .h1 {
  line-height: 1.25 !important;
}

h2, .h2 {
  line-height: 1.3 !important;
}

h3, .h3 {
  line-height: 1.4 !important;
}

h4, h5, h6 {
  line-height: 1.45 !important;
}

.font-sans {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

::selection {
  background-color: rgba(0, 63, 71, 0.15);
  color: var(--color-charcoal);
}

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

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

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

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

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

/* Ambient glow animation */
@keyframes ambientPulse {
  0%, 100% {
    transform: scale(1) translateX(-50%);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.06) translateX(-50%);
    opacity: 0.6;
  }
}

.animate-ambient {
  animation: ambientPulse 8s ease-in-out infinite;
}

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

.accordion-content.open {
  max-height: 500px;
  opacity: 1;
}

/* WhatsApp Floater */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  background-color: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25);
}

/* Infinite Logo Marquee */
@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@-webkit-keyframes marqueeScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}

.marquee-track {
  display: flex !important;
  width: max-content !important;
  animation: marqueeScroll 25s linear infinite !important;
  -webkit-animation: marqueeScroll 25s linear infinite !important;
  will-change: transform;
}

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

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

/* Hide scrollbar for clean horizontal carousel */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
