@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   IMAGINE PRINTERS — Modern Interactive Agency Stylesheet
   Custom Brand Cursor, Infinite Gradient Animations, 3D Hero Deck & Marquee
   ========================================================================== */

:root {
  --color-dark-bg: #07090F;
  --color-dark-surface: #0E1322;
  --color-dark-card: #13192B;
  --color-light-bg: #FFFFFF;
  --color-light-surface: #F8FAFC;
  --color-light-card: #FFFFFF;
  --color-light-border: #E2E8F0;
  
  --color-brand-lime: #94C120;
  --color-brand-lime-hover: #A6D825;
  --color-brand-indigo: #3B2C85;
  --color-brand-magenta: #EC008C;
  --color-brand-cyan: #00AEEF;
  
  --font-heading: 'Poppins', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

html, body, .font-sans {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: var(--color-dark-bg);
  color: #E2E8F0;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.012em;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.02em;
}

.font-mono, code, kbd, samp {
  font-family: 'Space Grotesk', monospace !important;
  letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0D18;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-lime);
}

/* --------------------------------------------------------------------------
   CUSTOM ANIMATED BRAND CURSOR (Desktop Only)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  #cursorDot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--color-brand-lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(148, 193, 32, 0.9);
    transition: transform 0.06s ease, opacity 0.2s ease;
  }

  #cursorRing {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(148, 193, 32, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.25s ease,
                border-color 0.25s ease;
  }

  body.cursor-hover #cursorRing {
    width: 58px;
    height: 58px;
    border-color: rgba(148, 193, 32, 0.9);
    background-color: rgba(148, 193, 32, 0.12);
  }

  body.cursor-hover #cursorDot {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: #FFFFFF;
  }
}

/* --------------------------------------------------------------------------
   INFINITE ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes gradientTextInfinite {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.infinite-gradient-text {
  background: linear-gradient(90deg, #94C120 0%, #00AEEF 30%, #EC008C 60%, #FFF200 85%, #94C120 100%);
  background-size: 300% 100%;
  animation: gradientTextInfinite 5s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

/* Infinite Typewriter / Word Flipper */
.word-flipper-wrapper {
  display: inline-block;
  position: relative;
  overflow: visible;
  vertical-align: bottom;
  min-height: 1.25em;
}

/* --------------------------------------------------------------------------
   INFINITE MARQUEE SLIDER (Google Reviews)
   -------------------------------------------------------------------------- */
@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
}

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

.marquee-dark::before {
  left: 0;
  background: linear-gradient(to right, #07090F 0%, transparent 100%);
}
.marquee-dark::after {
  right: 0;
  background: linear-gradient(to left, #07090F 0%, transparent 100%);
}

.marquee-light::before {
  left: 0;
  background: linear-gradient(to right, #F8FAFC 0%, transparent 100%);
}
.marquee-light::after {
  right: 0;
  background: linear-gradient(to left, #F8FAFC 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScrollLeft 38s linear infinite;
}

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

@media (max-width: 640px) {
  .marquee-container::before,
  .marquee-container::after {
    width: 28px;
  }
  .marquee-track {
    gap: 14px;
  }
  .marquee-track > div {
    width: 285px !important;
    padding: 1.1rem !important;
  }
}

/* --------------------------------------------------------------------------
   HERO INTERACTIVE IMAGE SLIDER
   -------------------------------------------------------------------------- */
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.hero-slider-container {
  position: relative;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(10, 13, 23, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(148, 193, 32, 0.2);
  overflow: hidden;
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.25rem;
  background-color: #05070C;
}

@media (min-width: 640px) {
  .hero-slider-viewport {
    aspect-ratio: 16 / 11;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.06);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 12, 0.95) 0%, rgba(5, 7, 12, 0.5) 45%, rgba(5, 7, 12, 0.1) 80%, transparent 100%);
}

.hero-slider-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 30;
  overflow: hidden;
}

.hero-slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #94C120, #00AEEF);
  box-shadow: 0 0 10px #94C120;
  transition: width 0.1s linear;
}

.hero-slider-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 15, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
  z-index: 20;
}

.hero-slider-nav-btn:hover {
  background: #94C120;
  color: #07090F;
  border-color: #94C120;
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(148, 193, 32, 0.6);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-dot.active {
  width: 28px;
  background: #94C120;
  box-shadow: 0 0 10px rgba(148, 193, 32, 0.6);
}

.hero-thumb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  text-align: center;
}

.hero-thumb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.hero-thumb-btn.active {
  background: rgba(148, 193, 32, 0.16);
  border-color: #94C120;
  box-shadow: 0 0 14px rgba(148, 193, 32, 0.28);
}

.hero-thumb-btn.active .thumb-title {
  color: #94C120;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   LIGHT SECTION THEME UTILITIES
   -------------------------------------------------------------------------- */
.section-light {
  background-color: #F8FAFC;
  color: #0F172A;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: #0F172A;
}

.section-light p {
  color: #475569;
}

.light-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 0 20px -2px rgba(148, 193, 32, 0.2);
  border-color: rgba(148, 193, 32, 0.5);
}

/* --------------------------------------------------------------------------
   DARK SECTION THEME UTILITIES
   -------------------------------------------------------------------------- */
.section-dark {
  background-color: #07090F;
  color: #E2E8F0;
}

.dark-card {
  background-color: #0E1322;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-card:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 193, 32, 0.4);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(148, 193, 32, 0.2);
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  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-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating Elements Keyframes */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}
.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-1deg);
  }
}
.animate-float-reverse {
  animation: floatReverse 6s ease-in-out infinite;
}

/* Shimmer Highlight Effect */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.shimmer-badge {
  position: relative;
  overflow: hidden;
}
.shimmer-badge::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 3s infinite;
}

/* --------------------------------------------------------------------------
   BOTTOM-RIGHT FLOATING ACTION DOCK (WhatsApp + Instagram + Phone)
   -------------------------------------------------------------------------- */
.floating-action-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

@media (max-width: 640px) {
  .floating-action-dock {
    bottom: 16px;
    right: 12px;
    gap: 8px;
  }
}

.dock-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 22px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
}

@media (max-width: 640px) {
  .dock-btn {
    width: 44px;
    height: 44px;
    font-size: 19px;
    box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.45);
  }
}

.dock-btn:hover {
  transform: scale(1.12) translateX(-4px);
}

.dock-whatsapp {
  background: #25D366;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
}
.dock-whatsapp:hover {
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.7);
}

.dock-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 10px 25px -5px rgba(214, 36, 159, 0.5);
}
.dock-instagram:hover {
  box-shadow: 0 15px 30px -5px rgba(214, 36, 159, 0.7);
}

.dock-phone {
  background: #3B2C85;
  border: 2px solid #94C120;
  box-shadow: 0 10px 25px -5px rgba(59, 44, 133, 0.5);
}
.dock-phone:hover {
  background: #94C120;
  color: #07090F;
  box-shadow: 0 15px 30px -5px rgba(148, 193, 32, 0.7);
}

.dock-btn .dock-tooltip {
  position: absolute;
  right: 62px;
  background: rgba(7, 9, 15, 0.95);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dock-btn:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Ensure mobile menu and modals always appear ABOVE floating action dock */
#mobileMenuBackdrop,
#mobileMenu {
  z-index: 99 !important;
}

#callbackModal {
  z-index: 100 !important;
}

/* Seamlessly hide floating action dock when mobile menu or callback modal is active */
body.mobile-menu-open .floating-action-dock,
body.modal-open .floating-action-dock {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(24px) scale(0.85) !important;
}

/* --------------------------------------------------------------------------
   GRADIENTS & CMYK BADGES
   -------------------------------------------------------------------------- */
.gradient-text-lime {
  background: linear-gradient(135deg, #FFFFFF 30%, #94C120 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cmyk-bar {
  display: flex;
  gap: 6px;
}
.cmyk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.cmyk-c { background-color: #00AEEF; }
.cmyk-m { background-color: #EC008C; }
.cmyk-y { background-color: #FFF200; }
.cmyk-k { background-color: #111827; border: 1px solid #374151; }

/* --------------------------------------------------------------------------
   SUBNAV INFINITE RUNNING TEXT TICKER RIBBON
   -------------------------------------------------------------------------- */
.subnav-ticker-wrap {
  position: relative;
  background: linear-gradient(90deg, #060810 0%, #0E1426 50%, #060810 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 9px 0;
  z-index: 35;
}

.subnav-ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: subnavTickerScroll 38s linear infinite;
  white-space: nowrap;
}

.subnav-ticker-wrap:hover .subnav-ticker-track {
  animation-play-state: paused;
}

@keyframes subnavTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Infinite Text Color Shifting Gradient */
@keyframes infiniteTextGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.infinite-gradient-text,
.ticker-rainbow-text {
  background: linear-gradient(90deg, #94C120, #00AEEF, #EC008C, #FFF200, #38EF7D, #94C120);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: infiniteTextGradientShift 4.5s ease-in-out infinite;
  display: inline-block;
  font-weight: 800;
}

/* Color cycling with neon glow */
@keyframes colorCycle {
  0%, 100% {
    color: #94C120;
    text-shadow: 0 0 14px rgba(148, 193, 32, 0.7);
  }
  25% {
    color: #00AEEF;
    text-shadow: 0 0 14px rgba(0, 174, 239, 0.7);
  }
  50% {
    color: #EC008C;
    text-shadow: 0 0 14px rgba(236, 0, 140, 0.7);
  }
  75% {
    color: #FFF200;
    text-shadow: 0 0 14px rgba(255, 242, 0, 0.7);
  }
}

.infinite-color-cycle {
  animation: colorCycle 6s ease-in-out infinite;
  font-weight: 800;
}

/* Floating animation for badges */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-float {
  animation: floatSlow 3.5s ease-in-out infinite;
}

/* Subtle glowing pulse */
@keyframes subtlePulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(148, 193, 32, 0.3); }
  50% { box-shadow: 0 0 30px rgba(148, 193, 32, 0.7); }
}
.pulse-glow {
  animation: subtlePulseGlow 2.5s infinite;
}

/* Card & Icon Micro-Interactions */
.interactive-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.interactive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 193, 32, 0.5);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(148, 193, 32, 0.25);
}
.interactive-card:hover .icon-badge {
  transform: scale(1.12) rotate(5deg);
}

/* Card Base & Universal Hover Micro-Interactions */
.dark-card,
.service-card-item {
  background: #0E1322;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.dark-card:hover,
.service-card-item:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 193, 32, 0.5);
  box-shadow: 0 22px 45px -15px rgba(0, 0, 0, 0.85), 0 0 25px -5px rgba(148, 193, 32, 0.25);
}

.dark-card:hover img,
.service-card-item:hover img,
.light-card:hover img {
  transform: scale(1.06);
}

.dark-card img,
.service-card-item img,
.light-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.light-card:hover {
  transform: translateY(-5px);
  border-color: #94C120;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 25px -5px rgba(148, 193, 32, 0.2);
}

/* --------------------------------------------------------------------------
   REQUEST A CALL BACK MODAL ANIMATIONS
   -------------------------------------------------------------------------- */
.callback-modal-backdrop {
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
}

.callback-modal-card {
  background: linear-gradient(145deg, #10172B 0%, #080B14 100%);
  border: 1px solid rgba(148, 193, 32, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(148, 193, 32, 0.4);
  animation: modalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
