/* --- Base --- */
body {
  font-family: 'Inter', sans-serif;
  background-color: #FDFCF6; /* Premium Cream White */
  color: #1a2e25; /* Dark Green/Gray for text */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #0f1f18; /* Darker Green for headings */
}

/* --- Utilities --- */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 106, 79, 0.08); /* Subtle green border */
  box-shadow: 0 4px 20px -2px rgba(45, 106, 79, 0.1);
}

.neon-glow {
  box-shadow: 0 0 15px rgba(45, 106, 79, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, #1b4332 0%, #40916c 50%, #74c69d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDFCF6;
}
::-webkit-scrollbar-thumb {
  background: #B7E4C7; /* Light Green */
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #74c69d; /* Medium Green */
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.17, 0.55, 0.55, 1), transform 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom In Effect */
.animate-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade In Left */
.animate-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse Animation */
@keyframes soft-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.animate-pulse-slow {
  animation: soft-pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Underline Animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2D6A4F; /* Premium Green */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 3D Card Hover */
.perspective-container {
    perspective: 1000px;
}
.card-3d {
    transition: transform 0.3s ease;
}
.card-3d:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(2deg);
}

/* Image Scale on Group Hover */
.group:hover .scale-on-hover {
    transform: scale(1.1);
}
