/* Press Ready Art - Forest Green Print & Prepress Studio Theme & Physics */

:root {
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --forest-base: #063824;
  --forest-deep: #042719;
  --forest-abyss: #031e13;
  --forest-surface: #08432c;
  --forest-border: #145b3f;
  --forest-border-hover: #25845d;
  --text-primary: #f4f7f4;
  --text-secondary: #cfe0d6;
  --text-muted: #9bb8a8;
  --emerald-accent: #2cd48b;
  --emerald-bright: #5ceba9;
  --emerald-gradient: linear-gradient(135deg, #17b978 0%, #2cd48b 55%, #5ceba9 100%);
}

html {
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: #9dd5b7 #edf7f1;
}

body {
  font-family: var(--font-body);
  background-color: #f7fbf9;
  color: #0f3325;
  overflow-x: clip;
}

/* Clear, accessible input and textarea styling */
input, textarea, select {
  background-color: #ffffff !important;
  color: #0f3325 !important;
}

input::placeholder,
textarea::placeholder,
::placeholder {
  color: #6b8779 !important;
  opacity: 0.8 !important;
}

.font-primary, .font-display, h1, h2 {
  font-family: var(--font-primary) !important;
  letter-spacing: -0.02em;
}

h1, h2 {
  text-wrap: balance;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Emerald Accent Gradient Text & Buttons */
.text-emerald-gradient {
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-emerald-gradient {
  background: var(--emerald-gradient);
  color: #032215;
  box-shadow: 0 8px 24px -6px rgba(44, 212, 139, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
}

.btn-emerald-gradient:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 30px -6px rgba(44, 212, 139, 0.5);
}

/* ==================== HERO SMOOTH ARCHITECTURAL BACKGROUND ==================== */

.hero-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-cyber-grid {
  position: absolute;
  inset: -20% -10% -20% -10%;
  width: 120%;
  height: 140%;
  background-image:
    linear-gradient(to right, rgba(244, 247, 244, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 212, 139, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(800px) rotateX(45deg);
  transform-origin: center top;
  animation: gridDriftSmooth 36s linear infinite;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 30%, transparent 90%);
  opacity: 0.75;
}

@keyframes gridDriftSmooth {
  0% { background-position: 0 0; }
  100% { background-position: 0 640px; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-orb-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(44, 212, 139, 0.18) 0%, rgba(23, 185, 120, 0.05) 55%, transparent 75%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: smoothOrbDrift1 16s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 138, 86, 0.22) 0%, rgba(16, 138, 86, 0.04) 55%, transparent 75%);
  top: 30%;
  left: 0%;
  animation: smoothOrbDrift2 20s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(92, 235, 169, 0.14) 0%, rgba(44, 212, 139, 0.03) 55%, transparent 75%);
  top: 35%;
  right: 0%;
  animation: smoothOrbDrift3 18s ease-in-out infinite alternate;
}

@keyframes smoothOrbDrift1 {
  0% { transform: translate(-50%, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-46%, 32px) scale(1.06); opacity: 1; }
  100% { transform: translate(-54%, 20px) scale(0.96); opacity: 0.9; }
}

@keyframes smoothOrbDrift2 {
  0% { transform: translate(0, 0) scale(0.95); opacity: 0.75; }
  50% { transform: translate(38px, -24px) scale(1.08); opacity: 0.95; }
  100% { transform: translate(20px, 16px) scale(1); opacity: 0.8; }
}

@keyframes smoothOrbDrift3 {
  0% { transform: translate(0, 0) scale(1.04); opacity: 0.8; }
  50% { transform: translate(-34px, 28px) scale(0.94); opacity: 0.95; }
  100% { transform: translate(-18px, -16px) scale(1.02); opacity: 0.75; }
}



/* Subtle 3D Tilt */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

/* Infinite Marquee */
@keyframes marqueeLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee-left {
  display: flex;
  width: max-content;
  animation: marqueeLeft 36s linear infinite;
}

.animate-marquee-left:hover {
  animation-play-state: paused;
}

/* Reveal on scroll */
.reveal-on-scroll {
  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-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar Styling (Light Mint & Emerald) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #edf7f1;
}

::-webkit-scrollbar-thumb {
  background: #9dd5b7;
  border-radius: 9999px;
  border: 2px solid #edf7f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #2cd48b;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Slim Emerald Gradient Top Scroll Progress Indicator Bar */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--emerald-gradient);
  box-shadow: 0 0 10px rgba(44, 212, 139, 0.8), 0 0 20px rgba(92, 235, 169, 0.4);
  z-index: 999999;
  pointer-events: none;
  transform-origin: left center;
  transition: width 0.06s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* Blur-Up Progressive Image Placeholder Pattern */
.blur-up-container {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  background-image: none;
}

.blur-up-img {
  filter: none;
  transform: scale(1);
  opacity: 1;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}

.blur-up-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  .hero-cyber-grid,
  .hero-orb,
  .animate-marquee-left {
    animation: none !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .blur-up-img {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  #mobileMenu {
    transition: none !important;
  }
}

/* Mobile Navigation Drawer Slide-In Animation */
#mobileMenu {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0;
  padding-bottom: 0;
}

#mobileMenu.mobile-menu-open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

