@charset "UTF-8";
/* CSS Document */

/* =========================

   CREATIVE JIM CUSTOM CSS

   Marvin Experimental Layer

========================= */

/* HERO SECTIONS */
/* SERVICE CARDS */
/* FLOATING HOVER */
/* TESTIMONIALS */
/* BUTTONS */
/* TYPOGRAPHY */
/* ANIMATIONS */

/* Before & After Image Slider */

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  max-width: 900px;
  margin: auto;
}

.before-after img {
  width: 100%;
  display: block;
}

.after-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.after-wrap img {
  width: 900px;
  max-width: none;
}

.ba-slider {
  position: absolute;
  inset: auto 5% 20px 5%;
  width: 90%;
}

/* Sticky Rotating Proof Bar */

.cjm-proof-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.proof-text {
  color: rgba(110,180,63,1);
  font-weight: 700;
}

/* Smart Service Cards */

.service-card {
  display: block;
  height: 100%;
  padding: 2rem;
  border-radius: 20px;
  background: #f7f7f7;
  color: #111;
  text-decoration: none;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #111;
  color: #fff;
}

.service-card span {
  color: rgba(110,180,63,1);
  font-weight: 700;
}

.service-card h3 {
  margin-top: 1rem;
}

/* Fade In Images */

.wow-style-header {
  position: relative;
  width: 100%;
  max-width: 750px;
  height: 500px;
  overflow: hidden;
  background: #fff;
}

.header-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.25); /* Zoom out / zoom in of next slide */
  transition: opacity 900ms ease, transform 2500ms ease;
  transition: opacity 400ms ease-in-out, transform 1200ms ease;
}

.header-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Client / Project Ticker */

.client-ticker {
  overflow: hidden;
  background: #111;
  color: #fff;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  opacity: .85;
}

@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* Mini Quote Builder */

.quote-builder {
  border-radius: 22px;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
}

/* Fade Up Scroll Reveal Stat Strip */

.stat-card {
  padding: 2rem 1rem;
  border-radius: 18px;
  background: #111;
  color: #fff;
  transform: translateY(30px);
  opacity: 0;
  transition: .7s ease;
}
.stat-card.visible {
  transform: translateY(0);
  opacity: 1;
}
.stat-card strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(110,180,63,1);
}
.stat-card span {
  font-size: .95rem;
  letter-spacing: .04em;
}

/* Offset Image & Text Block */

.agency-image-stack {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.agency-image-stack img { /* Speed of zoom in on mouse-over */
  transition: transform 1.25s ease;
}

.agency-image-stack:hover img { /* Amount of zoom in on mouse-over */
  transform: scale(1.5);
}
		
.image-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 260px;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-weight: 700;
}

/* Floating Image Hover Effect */

.hover-preview-section {
  position: relative;
}

.hover-service-list a {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid #ddd;
  color: #111;
  text-decoration: none;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .95;
  transition: color .2s ease, padding-left .2s ease;
}

.hover-service-list a:hover {
  color: rgba(110,180,63,1);
  padding-left: 1rem;
}

.floating-preview {
  position: fixed;
  width: min(160px, 34vw);
  aspect-ratio: 4 / 3;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}

.floating-preview.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.floating-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

@media (max-width: 767px) {
  .floating-preview { display: none; }
}

/* Single Line Header Ticker */

.client-ticker {
  overflow: hidden;
  background: #111;
  color: #fff;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 10s linear infinite;
}

.ticker-track span {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  opacity: .85;
}

@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}


/* Owl Carousel - Marvin */     /* JS REQUIRED */

.testimonial-card {
  padding: 2rem;
  border-radius: 20px;
  background: #f5f5f5;
  min-height: 180px;
  font-size: 1.05rem;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: rgba(110,180,63,1);
}

/* Interactive Service Comparison Block */

.compare-card {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 2rem;
  background: #eee;
  font-weight: 700;
}

.compare-card.active,
.compare-card:hover {
  background: rgba(110,180,63,1);
  color: #fff;
}

.compare-output {
  border-radius: 18px;
  background: #111;
  color: #fff;
}

/* Not Obviously Bootstrap Cards */

.agency-card {
  display: block;
  height: 100%;
  padding: 2rem;
  border: 1px solid #e8e8e8;
  border-radius: 28px;
  color: #111;
  text-decoration: none;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.agency-card:hover {
  transform: translateY(-8px);
  border-color: rgba(110,180,63,.5);
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
}

.agency-card span {
  display: inline-block;
  margin-bottom: 2rem;
  color: rgba(110,180,63,1);
  font-weight: 900;
}

/* Premium Glass CTA Panel */

.glass-cta {
  min-height: 150px; /* Height of panel */
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  /* background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), 
    url("../portfolio/pf-RE-6.jpg") center/cover; */
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.glass-cta > * {
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(3px); /* Blur text background */
}

@media (max-width: 767px) {
  .glass-cta { flex-direction: column; align-items: start; }
}
















