/* Nivara Advisory LLC - Core Stylesheet */

:root {
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-navy: #0F172A;
  --color-slate: #334155;
  --color-bg-page: #FBFBF9;
}

/* Base Body Styles */
body {
  background-color: var(--color-bg-page);
  color: var(--color-slate);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow-x: hidden;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

/* Primary Button Styling */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background-color: #059669;
  color: #ffffff;
  border-radius: 0.375rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2), 0 2px 4px -2px rgba(5, 150, 105, 0.1);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3), 0 4px 6px -4px rgba(5, 150, 105, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  transform: translateY(-1px);
}

/* Custom Shadows */
.shadow-subtle {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

.shadow-subtle-lg {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* Service Card Hover Effects */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.4);
}

.service-card-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #f1f5f9;
}

@media (min-width: 640px) {
  .service-card-image-wrap {
    height: 270px;
  }
}

.service-card-image-wrap-spotlight {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: #f1f5f9;
}

@media (min-width: 1024px) {
  .service-card-image-wrap-spotlight {
    height: 100%;
    min-height: 330px;
  }
}

.service-card-img {
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

/* Reveal Animations on Scroll */
.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);
}

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

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

/* Smooth Scrolling Offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}