@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Geist:wght@400;700;900&display=swap');

:root {
  /* Brand Green #8DC63F */
  --brand-green: oklch(0.75 0.17 138);
  --brand-green-dark: oklch(0.3 0.05 138);
  
  /* Neutrals tinted green */
  --bg-dark: oklch(0.12 0.01 138);
  --bg-dark-soft: oklch(0.15 0.01 138);
  --fg-light: oklch(0.95 0.01 138);
  --fg-dim: oklch(0.75 0.01 138);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--fg-light);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  color: var(--fg-light);
  line-height: 1.1;
}

.text-brand { color: #8DC63F; }
.bg-brand { background-color: #8DC63F; }
.border-brand { border-color: #8DC63F; }

/* Responsive Scroll Margins (Smaller value = scrolls further down) */
.scroll-mt-expertise { scroll-margin-top: -2rem; } /* Lowered further on desktop (negative offset) */
.scroll-mt-clients { scroll-margin-top: 3rem; }
.scroll-mt-process { scroll-margin-top: 1rem; }
.scroll-mt-contact { scroll-margin-top: -2rem; } /* Lowered further on desktop (negative offset) */

@media (max-width: 768px) {
  .scroll-mt-expertise { scroll-margin-top: -4rem; } /* Down on mobile */
  .scroll-mt-clients { scroll-margin-top: 1rem; }    /* Up a little bit on mobile */
  .scroll-mt-process { scroll-margin-top: -3rem; }   /* Down a little bit on mobile */
  .scroll-mt-contact { scroll-margin-top: -3rem; }   /* Down a little bit on mobile */
}

/* GSAP Hidden Initial State */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-fade {
  opacity: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-green-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-green);
}

/* Glassmorphism subtle */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigation blur */
nav {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
nav.scrolled {
  background: rgba(12, 16, 12, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(141, 198, 63, 0.2);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Card Hover */
.expertise-card {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(141, 198, 63, 0.4);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

/* Custom Input */
input, textarea {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  transition: all 0.3s ease;
}
input:focus, textarea:focus {
  border-color: #8DC63F !important;
  outline: none;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Button Pulse */
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(141, 198, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 198, 63, 0); }
}
.btn-pulse {
  animation: pulse-green 2s infinite;
}
