@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;600;700;800&display=swap');

/*
 * Silly Vision Tailwind-inspired utility sheet
 * Modern + playful palette, handcrafted utilities needed by the static pages.
 */

:root {
  --silly-primary: #3730a3;
  --silly-accent: #a3e635;
  --silly-accent-dark: #558a20;
  --silly-hero-bg: #5b21b6;
  --silly-cta-bg: #ec4899;
  --silly-contact: #10b981;
  --silly-contact-bg: #ecfdf5;
  --silly-contact-alt: #8b5cf6;
  --silly-service-bg-1: #fef3c7;
  --silly-service-bg-2: #dbeafe;
  --silly-service-bg-3: #fbcfe8;
  --silly-service-heading-1: #d97706;
  --silly-service-heading-2: #1d4ed8;
  --silly-service-heading-3: #be185d;
  --silly-page-bg-1: #eef2ff;
  --silly-page-bg-2: #fefce8;
  --silly-page-heading-1: #4f46e5;
  --silly-page-heading-2: #2563eb;
  --silly-cross-link: #1f2937;
  --silly-link: #059669;
  --white: #ffffff;
  --gray-50: #fbfbff;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 20px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 15px 35px rgba(17, 24, 39, 0.18);
  --shadow-xl: 0 25px 45px rgba(17, 24, 39, 0.22);
  --shadow-silly-pop: 0 20px 30px -6px rgba(163, 230, 53, 0.55), 0 12px 20px -8px rgba(91, 33, 182, 0.35);
  --glass: rgba(255,255,255,0.6);
  --dot: radial-gradient(circle at 1px 1px, rgba(31,41,55,.12) 1px, transparent 1px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: 'Plus Jakarta Sans', 'Manrope', 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background-color: var(--gray-50);
  color: var(--gray-800);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-white {
  color: var(--white);
}

.text-gray-800 {
  color: var(--gray-800);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-silly-primary {
  color: var(--silly-primary);
}

.text-silly-accent {
  color: var(--silly-accent);
}

.text-silly-accent-dark {
  color: var(--silly-accent-dark);
}

.text-silly-contact {
  color: var(--silly-contact);
}

.text-silly-service-heading-1 {
  color: var(--silly-service-heading-1);
}

.text-silly-service-heading-2 {
  color: var(--silly-service-heading-2);
}

.text-silly-service-heading-3 {
  color: var(--silly-service-heading-3);
}

.text-silly-page-heading-1 {
  color: var(--silly-page-heading-1);
}

.text-silly-page-heading-2 {
  color: var(--silly-page-heading-2);
}

.text-silly-link {
  color: var(--silly-link);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', 'Manrope', 'Segoe UI', Helvetica, Arial, sans-serif;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-tight {
  letter-spacing: -0.02em;
}

.leading-relaxed {
  line-height: 1.7;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Extra whitespace utilities for airy layout - mobile first */
.py-24 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.pt-24 { padding-top: 4rem; }
.pb-24 { padding-bottom: 4rem; }

@media (min-width: 768px) {
  .pt-24 { padding-top: 6rem; }
  .pb-24 { padding-bottom: 6rem; }
}

.py-32 { 
  padding-top: 5rem; 
  padding-bottom: 5rem; 
}

@media (min-width: 768px) {
  .py-32 { 
    padding-top: 8rem; 
    padding-bottom: 8rem; 
  }
}

.py-40 { 
  padding-top: 6rem; 
  padding-bottom: 6rem; 
}

@media (min-width: 768px) {
  .py-40 { 
    padding-top: 10rem; 
    padding-bottom: 10rem; 
  }
}

.my-16 { margin-top: 3rem; margin-bottom: 3rem; }
.mt-16 { margin-top: 3rem; }
.mb-16 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 5rem; }

@media (min-width: 768px) {
  .my-16 { margin-top: 4rem; margin-bottom: 4rem; }
  .mt-16 { margin-top: 4rem; }
  .mb-16 { margin-bottom: 4rem; }
  .mb-20 { margin-bottom: 5rem; }
  .mb-24 { margin-bottom: 6rem; }
}

.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.ml-4 {
  margin-left: 1rem;
}

.mr-4 {
  margin-right: 1rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.bg-white {
  background-color: var(--white);
}

.bg-gray-100 {
  background-color: var(--gray-100);
}

.bg-gray-800 {
  background-color: var(--gray-800);
}

.bg-silly-hero-bg {
  background: radial-gradient(circle at 20% 20%, #7c3aed, var(--silly-hero-bg));
  position: relative;
  overflow: hidden;
}

.bg-silly-cta-bg {
  background: #ec4899;
}

.bg-silly-contact {
  background-color: var(--silly-contact);
}

.bg-silly-contact-bg {
  background-color: var(--silly-contact-bg);
}

.bg-silly-contact-alt {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.bg-silly-service-bg-1 {
  background: linear-gradient(160deg, rgba(254, 243, 199, 0.9), var(--silly-service-bg-1));
}

.bg-silly-service-bg-2 {
  background: linear-gradient(160deg, rgba(219, 234, 254, 0.9), var(--silly-service-bg-2));
}

.bg-silly-service-bg-3 {
  background: linear-gradient(160deg, rgba(251, 207, 232, 0.9), var(--silly-service-bg-3));
}

.bg-silly-page-bg-1 {
  background: linear-gradient(160deg, rgba(216, 222, 255, 0.9), var(--silly-page-bg-1));
}

.bg-silly-page-bg-2 {
  background: linear-gradient(160deg, rgba(254, 252, 232, 0.9), var(--silly-page-bg-2));
}

.bg-silly-cross-link {
  background: linear-gradient(135deg, rgba(55, 48, 163, 0.85), var(--silly-cross-link));
}

.rounded {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.shadow-silly-pop {
  box-shadow: var(--shadow-silly-pop);
}

.transition {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:shadow-silly-pop:hover {
  box-shadow: var(--shadow-silly-pop);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:bg-opacity-90:hover {
  filter: brightness(1.05);
}

.font-semibold .hover\:underline:hover {
  text-decoration-thickness: 2px;
}

.shadow-xl.hover\:opacity-80 {
  will-change: transform, opacity;
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

.italic {
  font-style: italic;
}

.font-semibold strong,
.font-bold strong {
  font-weight: inherit;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:gap-12 {
    gap: 3rem;
  }
}

/* Hover + active animations for buttons */
a.bg-silly-contact,
a.bg-silly-contact-alt,
a.bg-silly-contact:hover,
a.bg-silly-contact-alt:hover {
  color: var(--white);
}

a.bg-silly-contact-alt:hover,
a.bg-silly-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-silly-pop);
}

/* Hero headline layering */
main h1 {
  text-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

/* playful underline accent for highlighted links */
.text-silly-link {
  position: relative;
}

.text-silly-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.4), rgba(91, 33, 182, 0.4));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.text-silly-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* refined footer */
footer {
  background: radial-gradient(circle at top, rgba(91, 33, 182, 0.3), transparent 60%), var(--gray-800);
}

/* Buttons and badges */
.btn { 
  display: inline-block; 
  border: 0; 
  cursor: pointer; 
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .btn { padding: 0.9rem 1.25rem; }
}

.btn-primary {
  background: linear-gradient(135deg, var(--silly-contact), #34d399);
  color: white;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,.15); 
  color: white;
  border: 2px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.badge {
  display: inline-flex; align-items: center; gap:.5rem; padding: .35rem .7rem; font-weight:700; border-radius:9999px; font-size:.85rem; background: var(--silly-primary); color:#fff; border:1px solid var(--silly-primary);
  animation: slide-in-up 0.6s ease-out;
}
.badge-dot { 
  width:.5rem; height:.5rem; border-radius:9999px; background: var(--silly-accent); 
  box-shadow:0 0 0 .25rem rgba(163,230,53,.25);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Cards */
.card { 
  background:white; 
  border-radius:1rem; 
  box-shadow: var(--shadow-lg); 
  padding:1.5rem;
}

@media (min-width: 768px) {
  .card { padding: 2rem; }
}

.card-accent { position: relative; }
.card-accent::before {
  content:""; position:absolute; inset:-2px; z-index:-1; border-radius:1.1rem; background: linear-gradient(135deg,#a3e63533,#5b21b633);
}

/* Dotted/pattern backgrounds */
.bg-dots { background-image: var(--dot); background-size: 16px 16px; }
.bg-glass { background: var(--glass); backdrop-filter: saturate(160%) blur(8px); }

/* Hero decorative blobs */
.hero-blob::before, .hero-blob::after {
  content:""; 
  position:absolute; 
  border-radius:9999px; 
  filter: blur(80px); 
  opacity:.3; 
  pointer-events:none;
  z-index: 0;
  animation: float-slow 16s ease-in-out infinite;
}
.hero-blob::before { 
  width:300px; 
  height:300px; 
  background:#7c3aed; 
  top:-80px; 
  left:-60px; 
}
.hero-blob::after { 
  width:280px; 
  height:280px; 
  background:#a3e635; 
  bottom:-80px; 
  right:-40px; 
  animation-delay: -8s;
}

@media (min-width: 768px) {
  .hero-blob::before { width:420px; height:420px; top:-120px; left:-80px; }
  .hero-blob::after { width:380px; height:380px; bottom:-120px; right:-60px; }
}

/* Section titles */
.eyebrow { text-transform: uppercase; letter-spacing:.08em; font-weight:800; color:rgba(255,255,255,.85); }

/* Wave dividers */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
  position: relative;
}
.wave-top { 
  transform: scaleY(-1);
  margin-bottom: -1px;
}

/* Image placeholders */
.img-placeholder {
  background: linear-gradient(135deg, #e0e7ff, #fce7f3);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.img-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
.img-placeholder::before {
  content: "🎨";
  font-size: 3rem;
  opacity: .3;
  animation: float 4s ease-in-out infinite;
  z-index: 0;
}
.img-placeholder:has(img)::before {
  display: none;
}
@media (min-width: 768px) {
  .img-placeholder {
    min-height: 400px;
  }
  .img-placeholder::before {
    font-size: 4rem;
  }
}
@media (min-width: 1024px) {
  .img-placeholder {
    min-height: 500px;
  }
}

/* Hero enhancements */
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-content { 
    grid-template-columns: 1fr 1.2fr; 
    gap: 5rem;
  }
}

/* Floating animations for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes float-slow {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(60px, -80px) rotate(8deg); }
  50% { transform: translate(-50px, -60px) rotate(-6deg); }
  75% { transform: translate(50px, -100px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
@keyframes slide-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}
.animate-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}
.animate-slide-in {
  animation: slide-in-up 0.8s ease-out forwards;
}

/* Header improvements */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: var(--shadow-sm);
}
.site-brand {
  font-weight: 800;
  color: var(--silly-primary);
}
.nav a {
  color: var(--silly-primary);
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 200ms ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--silly-accent-dark);
  background: rgba(163, 230, 53, 0.2);
  outline: none;
  transform: translateY(-1px);
}
/* Header CTA button */
.nav a.bg-silly-contact {
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  color: white;
}
.nav a.bg-silly-contact:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: white;
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 60;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--silly-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(12px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  
  .nav.active {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem 1rem;
  }
  
  .nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin: 0.25rem 0;
    border-radius: 0.5rem;
  }
  
  .nav a.bg-silly-contact {
    margin: 1rem 0 0.5rem 0;
    width: 100%;
  }
}

/* Focus styles and accessibility helpers */
:focus-visible {
  outline: 3px solid #84cc16; /* lime-500 */
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #111827;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 1000;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Carousel */
.carousel {
  position: relative;
}
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 2rem;
  scroll-behavior: smooth;
}
.carousel-slide {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 1.5rem;
}
.carousel img { 
  max-height: 70px; 
  width: auto; 
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.carousel-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
/* remove controls & dots for auto mode */
.carousel-controls, .carousel-dots { display: none; }

/* auto-scroll marquee variant */
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.carousel.is-auto .carousel-viewport {
  mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}
.carousel.is-auto .carousel-track {
  will-change: transform;
  animation: scroll-x var(--carousel-speed, 40s) linear infinite;
}

/* Reference carousel - single row infinite scroll */
.reference-carousel {
  width: 100%;
  overflow: hidden;
}
.reference-carousel-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-infinite 40s linear infinite;
}
.reference-carousel-track img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
@keyframes scroll-infinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .reference-carousel-track img {
    width: 280px;
    height: 210px;
  }
}

/* Section wrapper for consistent spacing */
.section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.section-light { 
  background: var(--gray-100);
}

/* Subtle wow effects */
.tilt {
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transform-style: preserve-3d;
}
.tilt:hover {
  transform: perspective(800px) rotateX(1deg) rotateY(-1deg) translateY(-2px);
  box-shadow: var(--shadow-lg);
}
