Growing Active Slider

Implementation: 1 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="gallery">
    <div class="gallery-arrow">
        <div class="container">
            <button class="gallery-arrow__btn gallery-arrow__btn--prev js-gallery-prev">
                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" fill="#000"/>
                </svg>
            </button>
            <button class="gallery-arrow__btn gallery-arrow__btn--next js-gallery-next">
                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#000"/>
                </svg>
            </button>
        </div>
    </div>
    <div class="gallery-slider js-gallery-slider">
        <div class="gallery-slider__item">
            <img src="https://placedog.net/600" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/700" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/800" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/900" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/1000" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/600" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/700" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/800" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/900" alt="">
        </div>
        <div class="gallery-slider__item">
            <img src="https://placedog.net/1000" alt="">
        </div>
    </div>
  </div>
.gallery {
  padding: 80px 0;
}

.gallery-arrow {
  text-align: right;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  
  button {
    background-color: #01397a;
    border: 0;
    padding: 3px 12px;
    margin: 0 5px;
    cursor: pointer;
    
    svg {
      width: 30px;
      height: auto;
    }
    
    svg path {
      fill: #fff;
    }
  }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.gallery-slider {
  height: 400px;
  margin: 60px -450px 0 -220px;
  
  .slick-slider,
  .slick-track {
    height: 100%;
  }
  
  .slick-track {
    display: flex;
  }
}

.gallery-slider__item {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 10px;
  height: auto;
  
  img {
    position: relative;
    width: 420px;
    height: 100%;
    min-height: 533px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.3s ease-in-out, width 0.3s ease-in-out;
  }
}

.is-done-animating {
  .slick-current + .slick-active {
    img {
      width: 800px;
      transition-delay: 0.3s;
    }
  }
}
$('.js-gallery-slider').on('init', function() {
  $('.js-gallery-slider').addClass('is-done-animating');
})

$('.js-gallery-slider').slick({
    slidesToShow: 5,
    slidesToScroll: 1,
    variableWidth: true,
    arrows: true,
    speed: 600,
    prevArrow: '.js-gallery-prev',
    nextArrow: '.js-gallery-next',
});

$('.js-gallery-slider').on('beforeChange', function() {
  $('.js-gallery-slider').removeClass('is-done-animating');
})

$('.js-gallery-slider').on('afterChange', function() {
  $('.js-gallery-slider').addClass('is-done-animating');
})
Results

Shining on Hover

Implementation: .25 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="wrapper">
  <h1 align="center"><a href="#" class="effect-shine">shine</a></h1>
</div>
h1 a {
    color: #fff;
    font-size: 2em;
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: 'Dosis', sans-serif;
}

a.effect-shine:hover {
  -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
  -webkit-mask-size: 200%;
  animation: shine 2s infinite;
}

@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }
  
  to {
    -webkit-mask-position: -50%;
  }
}
Results

Before & After

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="slider-container is-initialized">
	<img decoding="async" width="616" height="426" src="{{ path_to_image }}" class="img-before">
	<img decoding="async" width="616" height="426" src="{{ path_to_image }}" class="img-after">
	<div class="image-slider__text">
		<div class="image-slider__before" style="clip-path: inset(0px);">Before</div>
		<div class="image-slider__after" style="clip-path: inset(0px);">After</div>
	</div>
	<div class="slider-drag" aria-hidden="true" style="left: 32%;"></div>
	<div class="handle" style="left: 32%;">
		<i class="icon-left-arrow" aria-hidden="true"></i>
		<i class="icon-right-arrow" aria-hidden="true"></i>
	</div>
</div>
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: calc(100% - 96px);
    border-radius: 6px;
    transition: height 0.3s ease;
}

.image-slider__text {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    color: var(--white);
    line-height: 1.5em;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-slider__before,
.image-slider__after {
    background: var(--primary-color);
    padding: 5px 0;
    font-size: 16px;
    font-weight: 500;
    width: 84px;
    text-align: center;
}

.slider-drag {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 8px;
    cursor: ew-resize;
    z-index: 3;
    color: var(--primary-color);
    font-size: 22px;
    line-height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}
/**
 * Block: acf/image-slider — Slick carousel + before/after drag (general / global)
 */

function fxInitBeforeAfterSliders() {
	document.querySelectorAll('.slider-container').forEach(function (container) {
		if (container.classList.contains('is-initialized')) {
			return;
		}
		container.classList.add('is-initialized');

		var beforeImg = container.querySelector('.img-before');
		var slider = container.querySelector('.slider-drag');
		var handle = container.querySelector('.handle');

		if (!beforeImg || !slider || !handle) {
			return;
		}

		function syncLabelClips() {
			var beforeLabel = container.querySelector('.image-slider__before');
			var afterLabel = container.querySelector('.image-slider__after');
			var dragRect = slider.getBoundingClientRect();
			var dividerX = dragRect.left + dragRect.width / 2;

			if (beforeLabel) {
				var bRect = beforeLabel.getBoundingClientRect();
				var clipRightPx = 0;
				if (bRect.width > 0) {
					clipRightPx = Math.min(bRect.width, Math.max(0, bRect.right - dividerX));
				}
				beforeLabel.style.clipPath = 'inset(0 ' + clipRightPx + 'px 0 0)';
			}

			if (afterLabel) {
				var aRect = afterLabel.getBoundingClientRect();
				var clipLeftPx = 0;
				if (aRect.width > 0) {
					clipLeftPx = Math.min(aRect.width, Math.max(0, dividerX - aRect.left));
				}
				afterLabel.style.clipPath = 'inset(0 0 0 ' + clipLeftPx + 'px)';
			}
		}

		function updateSlider(x) {
			var rect = container.getBoundingClientRect();
			if (rect.width === 0) {
				return;
			}

			var offsetX = Math.min(Math.max(0, x - rect.left), rect.width);
			var percent = (offsetX / rect.width) * 100;

			beforeImg.style.clipPath = 'inset(0 ' + (100 - percent) + '% 0 0)';
			slider.style.left = percent + '%';
			handle.style.left = percent + '%';
			syncLabelClips();
		}

		function startDrag(e) {
			e.preventDefault();
			e.stopPropagation();

			document.addEventListener('mousemove', moveDrag);
			document.addEventListener('mouseup', stopDrag);
			document.addEventListener('touchmove', moveDrag);
			document.addEventListener('touchend', stopDrag);
		}

		function moveDrag(e) {
			var x = e.pageX || (e.touches && e.touches[0] ? e.touches[0].pageX : 0);
			updateSlider(x);
		}

		function stopDrag() {
			document.removeEventListener('mousemove', moveDrag);
			document.removeEventListener('mouseup', stopDrag);
			document.removeEventListener('touchmove', moveDrag);
			document.removeEventListener('touchend', stopDrag);
		}

		updateSlider(container.getBoundingClientRect().left + container.offsetWidth / 2);

		handle.addEventListener('mousedown', startDrag);
		handle.addEventListener('touchstart', startDrag);
	});
}

var FX = (function (FX, $) {
	$(function () {
		FX.ImageSlider.init();
	});

	FX.ImageSlider = {
		$slider: null,

		init: function () {
			this.$slider = $('.js-image-slider');

			if (this.$slider.length) {
				this.applySlick();
			}
		},

		applySlick: function () {
			this.$slider.on('init', function () {
				fxInitBeforeAfterSliders();
			});

			this.$slider.on('afterChange', function () {
				fxInitBeforeAfterSliders();
			});

			this.$slider.slick({
				slidesToShow: 1,
				centerMode: true,
				variableWidth: true,
				// speed: 0,
			});
		},
	};

	return FX;
})(FX || {}, jQuery);
Results

Tilt On Hover

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="image-button-slider row">
    <div class="image-button-item col-sm-6 col-lg-4"">
        <a href="{{ permalink }}" target="_self" class="image-button">
            <img fetchpriority="high" decoding="async" width="800" height="530" src="{{ image_src }}" class="object-fit entered lazyloaded" alt="Double-Hung-2-1" data-lazy-srcset="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg.webp 800w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-300x199.jpg.webp 300w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-768x509.jpg.webp 768w" data-lazy-sizes="(max-width: 800px) 100vw, 800px" data-lazy-src="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg.webp" data-lazy-src-webp="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg.webp" data-lazy-srcset-webp="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg.webp 800w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-300x199.jpg.webp 300w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-768x509.jpg.webp 768w" data-ll-status="loaded" sizes="(max-width: 800px) 100vw, 800px" srcset="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg.webp 800w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-300x199.jpg.webp 300w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-768x509.jpg.webp 768w" style="transform: none;"><noscript><img fetchpriority="high" decoding="async" width="800" height="530" src="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg" class="object-fit" alt="Double-Hung-2-1" srcset="https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1.jpg 800w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-300x199.jpg 300w, https://americanwindowandglass.com/wp-content/uploads/2026/01/Double-Hung-2-1-768x509.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></noscript>                    <a class="image-button__details js-image-button-details" style="transform: none;">
            <h4 class="image-button__title">300 Yosemite Double Hung – New Construction</h4>
            <div class="image-button__icon hidden-md-down js-image-button-arrow" style="left: -2.30551px; top: 166.417px; opacity: 0; transform: scale(0);">
                <i class="icon-arrow-right"></i>
            </div>
        </a>
    </div>
</div>
.image-button {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.image-button__details {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.iamge-button__icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: #fff;
    color: orange;
    border-radius: 50%;
    left: -48px;
    top: -48px;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    pointer-events: none;
    z-index: 1;
}
var FX = ( function( FX, $ ) {


	$( () => {
		FX.ImageButtonSlider.init()
	})


	FX.ImageButtonSlider = {

        init() {

            this.handleArrow()
        },

        handleArrow() {
            $('.js-image-button-details').each(function() {
                const $details = $(this);
                console.log($details);
                const $arrow = $details.find('.js-image-button-arrow');
                const arrowSize = 48; // Arrow is 48px x 48px

                // Track mouse movement over the details container
                $details.on('mousemove', function(e) {
                    const rect = this.getBoundingClientRect();
                    const x = e.clientX - rect.left;
                    const y = e.clientY - rect.top;

                    // Center the arrow on the cursor
                    const arrowX = x - (arrowSize / 2);
                    const arrowY = y - (arrowSize / 2);

                    // Update arrow position (let it move freely, even outside visible area)
                    $arrow.css({
                        'left': arrowX + 'px',
                        'top': arrowY + 'px',
                        'opacity': '1',
                        'transform' : 'scale(1)'
                    });

                    // Calculate tilt for the details container
                    const width = rect.width;
                    const height = rect.height;

                    // Map pointer position to a max tilt angle (in deg)
                    // Max tilt of 6deg left/right and up/down
                    const maxTilt = 1.5;
                    const tiltX = ((y / height) - 0.5) * 2 * maxTilt * -1; // invert so it tilts "into" the pointer
                    const tiltY = ((x / width) - 0.5) * 2 * maxTilt;

                    $details.css('transform', `perspective(600px) rotateX(${tiltX}deg) rotateY(${tiltY}deg)`);
                    $details.parent().find('img').css('transform', `perspective(600px) rotateX(${tiltX}deg) rotateY(${tiltY}deg)`);
                });

                // Reset arrow position and tilt when mouse leaves
                $details.on('mouseleave', function() {
                    $arrow.css({
                        'opacity': '0',
                        'transform' : 'scale(0)'
                    });
                    $details.css('transform', 'none');
                    $details.parent().find('img').css('transform', 'none');
                });
            });
        }
	}

	return FX

} ( FX || {}, jQuery ) );

            
Results

Graphic Particle Animation

Implementation: 3 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="masthead__graphics hidden-md-down" id="js-masthead-graphics">
    <svg width="176" height="176" viewBox="0 0 176 176" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path opacity="0.085" d="M175.053 163.053L175.053 12.024C175.053 1.33317 162.128 -4.02082 154.568 3.53876L3.53877 154.568C-4.0208 162.128 1.3332 175.053 12.0241 175.053L163.053 175.053C169.681 175.053 175.053 169.681 175.053 163.053Z" fill="url(#paint0_linear_2262_6741)"/>
        <defs>
            <linearGradient id="paint0_linear_2262_6741" x1="142.264" y1="-16.9465" x2="69.3843" y2="220.005" gradientUnits="userSpaceOnUse">
                <stop stop-color="#EDFAFF"/>
                <stop offset="1" stop-color="#D7F1FA"/>
            </linearGradient>
        </defs>
    </svg>

    <svg width="119" height="119" viewBox="0 0 119 119" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path opacity="0.085" d="M12 0H106.029C116.72 0 122.074 12.9257 114.515 20.4853L20.4853 114.515C12.9257 122.074 0 116.72 0 106.029V12C0 5.37258 5.37259 0 12 0Z" fill="url(#paint0_linear_2262_6739)"/>
        <defs>
            <linearGradient id="paint0_linear_2262_6739" x1="135" y1="23.055" x2="-31.6066" y2="74.2986" gradientUnits="userSpaceOnUse">
                <stop stop-color="#EDFAFF"/>
                <stop offset="1" stop-color="#D7F1FA"/>
            </linearGradient>
        </defs>
    </svg>

    <svg width="119" height="119" viewBox="0 0 119 119" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path opacity="0.085" d="M106.053 118.053L12.0241 118.053C1.3332 118.053 -4.02081 105.128 3.53877 97.5682L97.5682 3.53877C105.128 -4.02081 118.054 1.33321 118.054 12.0241L118.053 106.053C118.053 112.681 112.681 118.053 106.053 118.053Z" fill="url(#paint0_linear_2262_6740)"/>
        <defs>
            <linearGradient id="paint0_linear_2262_6740" x1="-16.9465" y1="94.9984" x2="149.66" y2="43.7549" gradientUnits="userSpaceOnUse">
                <stop stop-color="#EDFAFF"/>
                <stop offset="1" stop-color="#D7F1FA"/>
            </linearGradient>
        </defs>
    </svg>

    <svg width="119" height="119" viewBox="0 0 119 119" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path opacity="0.085" d="M12 0H106.029C116.72 0 122.074 12.9257 114.515 20.4853L20.4853 114.515C12.9257 122.074 0 116.72 0 106.029V12C0 5.37258 5.37259 0 12 0Z" fill="url(#paint0_linear_2262_6739)"/>
        <defs>
            <linearGradient id="paint0_linear_2262_6739" x1="135" y1="23.055" x2="-31.6066" y2="74.2986" gradientUnits="userSpaceOnUse">
                <stop stop-color="#EDFAFF"/>
                <stop offset="1" stop-color="#D7F1FA"/>
            </linearGradient>
        </defs>
    </svg>

    <!-- add more svg here... -->
</div>
.masthead__graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    svg {
        width: 122px;
        height: auto;
        position: absolute;
        bottom: 0;
        left: 0;
        opacity: 0;
    }
}
var FX = (function (FX, $) {


	$(() => {
		$(window).on('load', function() {
			FX.MastheadGraphicsAnimation.init()
		})
	})


	FX.MastheadGraphicsAnimation = {

		init() {
            const $mastheadGraphics = $('#js-masthead-graphics');
            const $mastheadGraphicsItems = $('#js-masthead-graphics svg');

            if (!$mastheadGraphics.length || !$mastheadGraphicsItems.length) return;

            setTimeout(() => {
                this.startAnimation($mastheadGraphics, $mastheadGraphicsItems);
            }, 100);
		},

        startAnimation($mastheadGraphics, $mastheadGraphicsItems) {
            const containerWidth = $mastheadGraphics.width();
            const containerHeight = $mastheadGraphics.height();

            if (containerWidth === 0 || containerHeight === 0) {
                setTimeout(() => {
                    this.startAnimation($mastheadGraphics, $mastheadGraphicsItems);
                }, 100);
                return;
            }

            const elements = [];

            $mastheadGraphicsItems.each(function(index) {
                const $element = $(this);
                const containerWidth = $mastheadGraphics.width();
                const containerHeight = $mastheadGraphics.height();
                const elementWidth = $element.outerWidth();
                const elementHeight = $element.outerHeight();

                const baseVelX = (Math.random() - 0.5) * 3.5;
                const baseVelY = (Math.random() - 0.5) * 3.5;

                elements.push({
                    $el: $element,
                    x: Math.random() * (containerWidth - elementWidth),
                    y: Math.random() * (containerHeight - elementHeight),
                    velocityX: baseVelX,
                    velocityY: baseVelY,
                    baseVelocityX: baseVelX,
                    baseVelocityY: baseVelY,
                    speedBoost: 1.0,
                    lastCollisionTime: 0
                });

                $element.css({
                    position: 'absolute',
                    opacity: 0
                });
            });

            setTimeout(() => {
                $mastheadGraphicsItems.css('opacity', 1);
            }, 100);

            const animate = () => {
                const containerWidth = $mastheadGraphics.width();
                const containerHeight = $mastheadGraphics.height();
                const currentTime = Date.now();

                elements.forEach((element, index) => {
                    const elementWidth = element.$el.outerWidth();
                    const elementHeight = element.$el.outerHeight();

                    if (element.speedBoost > 1.0) {
                        element.speedBoost -= 0.02;
                        if (element.speedBoost < 1.0) element.speedBoost = 1.0;
                    }

                    element.x += element.velocityX * element.speedBoost;
                    element.y += element.velocityY * element.speedBoost;

                    let hitX = false;
                    let hitY = false;

                    if (element.x <= 0 || element.x >= containerWidth - elementWidth) {
                        element.velocityX *= -1;
                        hitX = true;
                    }

                    if (element.y <= 0 || element.y >= containerHeight - elementHeight) {
                        element.velocityY *= -1;
                        hitY = true;
                    }

                    element.x = Math.max(0, Math.min(element.x, containerWidth - elementWidth));
                    element.y = Math.max(0, Math.min(element.y, containerHeight - elementHeight));

                    element.$el.css({
                        left: element.x + 'px',
                        top: element.y + 'px'
                    });
                });

                for (let i = 0; i < elements.length; i++) {
                    for (let j = i + 1; j < elements.length; j++) {
                        const el1 = elements[i];
                        const el2 = elements[j];

                        if (currentTime - el1.lastCollisionTime < 100 || 
                            currentTime - el2.lastCollisionTime < 100) {
                            continue;
                        }

                        const w1 = el1.$el.outerWidth();
                        const h1 = el1.$el.outerHeight();
                        const w2 = el2.$el.outerWidth();
                        const h2 = el2.$el.outerHeight();

                        if (el1.x < el2.x + w2 &&
                            el1.x + w1 > el2.x &&
                            el1.y < el2.y + h2 &&
                            el1.y + h1 > el2.y) {
                            
                            const tempVelX = el1.velocityX;
                            const tempVelY = el1.velocityY;
                            el1.velocityX = el2.velocityX;
                            el1.velocityY = el2.velocityY;
                            el2.velocityX = tempVelX;
                            el2.velocityY = tempVelY;

                            el1.speedBoost = 1.8;
                            el2.speedBoost = 1.8;

                            el1.lastCollisionTime = currentTime;
                            el2.lastCollisionTime = currentTime;

                            const overlapX = (el1.x + w1 / 2) - (el2.x + w2 / 2);
                            const overlapY = (el1.y + h1 / 2) - (el2.y + h2 / 2);
                            const distance = Math.sqrt(overlapX * overlapX + overlapY * overlapY);
                            
                            if (distance > 0) {
                                const pushX = (overlapX / distance) * 5;
                                const pushY = (overlapY / distance) * 5;
                                el1.x += pushX;
                                el1.y += pushY;
                                el2.x -= pushX;
                                el2.y -= pushY;
                            }
                        }
                    }
                }

                requestAnimationFrame(animate);
            };

            animate();
		},


	}



	return FX

}(FX || {}, jQuery))
Results

Width Grow Animation

Implementation: .5 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section class="galleries section-padding hard-bottom">
    <div class="container">
        <div class="row">
            <div class="col-lg-10 col-lg-offset-1">
                <div class="galleries__headlines text-center js-animated-wysiwyg animated-wysiwyg">
                    <h2>Our Gallery</h2>
                </div>
            </div>
        </div>
    </div>
    <div class="js-gallery gallery-slider is-active">
        <div class="gallery-item is-active">
            <div class="gallery">
                <img src="{{ path_to_image }}">
                <div class="gallery__details">
                    <div class="gallery__title">
                        <h4>New Construction Project</h4>
                    </div>
                    <div class="gallery__hover hidden-md-down">
                        <p>Classic design meets modern comfort in this inviting family home, filled with warmth and natural light</p>
                    </div>
                </div>
                </a>
            </div>
        </div>
        <div class="gallery-item">
            <div class="gallery">
                <img src="{{ path_to_image }}">
                <div class="gallery__details">
                    <div class="gallery__title">
                        <h4>Replacement Project</h4>
                    </div>
                    <div class="gallery__hover hidden-md-down">
                        <p>Eco-conscious design featuring high-performance windows for energy savings and a smaller environmental footprint</p>
                    </div>
                </div>
                </a>
            </div>
        </div>
        <div class="gallery-item">
            <div class="gallery">
                <img src="{{ path_to_image }}">
                <div class="gallery__details">
                    <div class="gallery__title">
                        <h4>Specialty Installation</h4>
                    </div>
                    <div class="gallery__hover hidden-md-down">
                        <p>Sleek lines and expansive glass define this contemporary build, maximizing light and space.</p>
                    </div>
                </div>
                </a>
            </div>
        </div>
        <div class="gallery-item">
            <div class="gallery">
                <img src="{{ path_to_image }}">
                <div class="gallery__details">
                    <div class="gallery__title">
                        <h4>Home Renovation</h4>
                    </div>
                    <div class="gallery__hover hidden-md-down">
                        <p>Exquisite craftsmanship and premium materials create an opulent living space with great views</p>
                    </div>
                </div>
                </a>
            </div>
        </div>
        <div class="gallery-item">
            <div class="gallery">
                <img src="{{ path_to_image }}">
                <div class="gallery__details">
                    <div class="gallery__title">
                        <h4>Patio Door Installation</h4>
                    </div>
                    <div class="gallery__hover hidden-md-down">
                        <p>Secure and energy-efficient patio doors designed for lasting performance and protection against the elements.</p>
                    </div>
                </div>
                </a>
            </div>
        </div>
    </div>
</section>
<!-- End Block: acf/service-gallery -->
.gallery-item {
    width: 16.56%;
    transition: width 0.25s ease-in-out;
}

.gallery-item.is-active {
    width: 33.76%;
}

.gallery-slider:not(.is-active) .gallery-item {
    width: 20%;
}
// Use event delegation to persist through Slick DOM manipulation
$(document).on('mouseenter', '.gallery-item', function() {
    $('.gallery-item').removeClass('is-active');
    $(this).addClass('is-active');
    $(this).closest('.gallery-slider').addClass('is-active');
});

$(document).on('mouseleave', '.gallery-item', function() {
    $('.gallery-item').removeClass('is-active');
    $(this).closest('.gallery-slider').removeClass('is-active');
});
Results

Press Effect

Implementation: .5 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="js-resource-card-slider fx-slider">
    <div class="resource-card-item fx-slide ">
        <a href="#" class="resource-card-link">
            <div class="resource-card-image">
                <img decoding="async" width="1200" height="600" src="{{ path to image }}">
            </div>
            <div class="resource-card-content">
                <h3>{{ title }}</h3>
                <!-- get the excerpt, if empty, get the content and strip the tags -->
                <p>{{ excerpt }}</p>
                <button>
                    <span>Read Article</span>
                    <svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 15 14" fill="none">
                        <path d="M14.7602 6.4174L9.34321 1.00025C9.18858 0.845619 8.98249 0.760742 8.76273 0.760742C8.54273 0.760742 8.33676 0.845741 8.18213 1.00025L7.6903 1.4922C7.53579 1.64659 7.45067 1.85281 7.45067 2.07268C7.45067 2.29244 7.53579 2.50561 7.6903 2.65999L10.8505 5.82716H0.810359C0.35768 5.82716 0 6.18155 0 6.63435V7.32983C0 7.78263 0.35768 8.17275 0.810359 8.17275H10.8864L7.69042 11.3576C7.53591 11.5122 7.45079 11.7128 7.45079 11.9327C7.45079 12.1524 7.53591 12.3559 7.69042 12.5104L8.18225 13.0008C8.33688 13.1554 8.54286 13.2397 8.76285 13.2397C8.98261 13.2397 9.1887 13.1543 9.34334 12.9997L14.7604 7.58264C14.9154 7.42752 15.0006 7.22044 15 7.00032C15.0005 6.77947 14.9154 6.57228 14.7602 6.4174Z" fill="#003C6E"></path>
                    </svg>
                </button>
            </div>
        </a> 
    </div>
</div>
.resource-card-link {
    box-shadow: 5px 5px 25px 0 rgba(0, 0, 0, .15);
    transform: translate(0, 0);
    transition: transform .3s ease-in-out, background .3s ease-in-out;
}

.resource-card-link:hover {
    box-shadow: 1px 1px 25px 0 rgba(0, 0, 0, .15);
    transform: translate(4px, 4px);
}
Results

Counter Up

Implementation: 1 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="number-stat js-animated-stats">
    <?php 
        foreach($stats as $stat): 
            $stat_value = $stat['stats_number'];
            $number_stats = '';

            if (preg_match('/[\d,]*\.?\d+/', $stat_value, $matches)) {
                $number_stats = str_replace(',', '', $matches[0]);
            }
    ?>
    <div class="number-stat__col">
        <div class="number-stat__number js-animated-stats-item"<?php echo $number_stats ? ' data-number-base="' . $number_stats . '"' : ''; ?>>
            <?php
                if (preg_match('/[0-9,]+(\.[0-9]+)?/', $stat_value, $matches)) {
                    // Wrap only the number in a <span> tag
                    $stat_value = preg_replace('/([0-9,]+(\.[0-9]+)?)/', '<span class="js-number-countup">0</span>', $stat_value); 
                }
                echo $stat_value;
            ?>
        </div>
        <div class="number-stat__info"><?php echo $stat['label']; ?></div>
    </div>
    <?php endforeach; ?>
</div>
const $statsContainer = $('.js-animated-stats');

if ( $statsContainer.length > 0 ) {
    $statsContainer.each(function() {
        const $thisContainer = $(this);
        const odometerElement = $thisContainer.find('.js-animated-stats-item');

        odometerElement.each(function() {
            const $thisCountUpItem = $(this);
            const targetValue = parseFloat($thisCountUpItem.data('number-base')); 
            
            gsap.to({value: 0}, {
                value: targetValue, 
                duration: 1.5, 
                ease: "power2.out",
                scrollTrigger: {
                    trigger: $thisContainer[0], 
                    start: "top 80%", 
                    end: "bottom 20%", 
                },
                onUpdate: function() {
                    let formattedValue = this.targets()[0].value.toLocaleString(undefined, { maximumFractionDigits: 0 });
                    $thisCountUpItem.find('.js-number-countup').text(formattedValue); 
                }
            });       
        })
    })
}
Results

More Menu Icons

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="menu">
    <span class="menu-top"></span>
    <span class="menu-middle"></span>
    <span class="menu-bottom"></span>
</div>
<div class="menu-two">
    <span class="menu-two-top"></span>
    <span class="menu-two-middle-one"></span>
    <span class="menu-two-middle-two"></span>
    <span class="menu-two-bottom"></span>
</div>
<div class="menu-three">
    <span class="menu-three-top-one"></span>
    <span class="menu-three-top-two"></span>
    <span class="menu-three-middle-one"></span>
    <span class="menu-three-middle-two"></span>
    <span class="menu-three-bottom-one"></span>
    <span class="menu-three-bottom-two"></span>
</div>

<div class="menu-six">
    <div class="menu-six-saber-one">
        <span class="menu-six-top-one"></span>
        <span class="menu-six-top-two"></span>
    </div>
    <span class="menu-six-middle"></span>
    <div class="menu-six-saber-two">
        <span class="menu-six-bottom-one"></span>
        <span class="menu-six-bottom-two"></span>
    </div>
</div>
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: #333;
}
.l-container {
  padding: 0 30px;
  height: 100%;
  position: relative;
}
.l-container--wrap {
  width: 100%;
  margin-top: 30px;
}
.menu {
  width: 100px;
  height: 100px;
  margin: auto;
  position: relative;
}
.menu:hover {
  cursor: pointer;
}
.menu:hover .menu-helper {
  opacity: 1;
}
.menu-helper {
  opacity: 0;
  width: 200px;
  height: 50px;
  background: #333;
  position: absolute;
  left: 130px;
  top: 10px;
  border-radius: 20px;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease-in-out;
}
.menu-helper:before {
  content: "";
  display: block;
  border-top: 20px solid transparent;
  border-left: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 20px solid #333;
  position: absolute;
  left: -30px;
  top: 5px;
}
.menu-top, .menu-middle, .menu-bottom {
  position: relative;
  display: block;
  width: 100%;
  height: 10px;
  background: #333;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.menu-top {
  top: 0px;
}
.menu-top.is-active {
  transform: rotate(-45deg);
  top: 30px;
}
.menu-middle {
  top: 20px;
}
.menu-middle.is-active {
  opacity: 0;
  transform: translateX(-50px);
}
.menu-bottom {
  top: 40px;
}
.menu-bottom.is-active {
  transform: rotate(45deg);
  top: 12px;
}
.menu-two {
  width: 100px;
  height: 100px;
  margin: auto;
}
.menu-two:hover {
  cursor: pointer;
}
.menu-two-top, .menu-two-middle-one, .menu-two-middle-two, .menu-two-bottom {
  position: relative;
  display: block;
  width: 100%;
  height: 10px;
  background: #333;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.menu-two-top {
  top: 0px;
}
.menu-two-top.is-active {
  transform: rotate(-45deg);
  top: 30px;
}
.menu-two-middle-one {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  top: 18px;
  float: left;
  width: 50px;
}
.menu-two-middle-one.is-active {
  opacity: 0;
  transform: translateX(-50px);
}
.menu-two-middle-two {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  top: 17px;
  display: inline-block;
  width: 50px;
}
.menu-two-middle-two.is-active {
  opacity: 0;
  transform: translateX(50px);
}
.menu-two-middle.is-active {
  opacity: 0;
  transform: translateX(-10px);
}
.menu-two-bottom {
  top: 34px;
}
.menu-two-bottom.is-active {
  transform: rotate(45deg);
  top: 6px;
}
.menu-three {
  width: 100px;
  height: 100px;
  margin: auto;
}
.menu-three:hover {
  cursor: pointer;
}
.menu-three-top-one, .menu-three-top-two, .menu-three-middle-one, .menu-three-middle-two, .menu-three-bottom-one, .menu-three-bottom-two {
  position: relative;
  left: 0;
  display: block;
  height: 10px;
  background: #333;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.menu-three-top-one, .menu-three-top-two {
  width: 50px;
}
.menu-three-top-one {
  top: 4px;
  float: left;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.menu-three-top-one.is-active {
  transform: rotate(45deg);
  top: 11px;
  left: 10px;
}
.menu-three-top-two {
  display: inline-block;
  top: 3px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.menu-three-top-two.is-active {
  transform: rotate(-45deg);
  top: 10px;
  left: -11px;
}
.menu-three-middle-one {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  top: 18px;
  float: left;
  width: 50px;
}
.menu-three-middle-one.is-active {
  opacity: 0;
  transform: translateX(-50px);
}
.menu-three-middle-two {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  top: 17px;
  display: inline-block;
  width: 50px;
}
.menu-three-middle-two.is-active {
  opacity: 0;
  transform: translateX(50px);
}
.menu-three-bottom-one, .menu-three-bottom-two {
  width: 50px;
}
.menu-three-bottom-one {
  float: left;
  top: 32px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.menu-three-bottom-one.is-active {
  transform: rotate(-45deg);
  top: 16px;
  left: 6px;
}
.menu-three-bottom-two {
  display: inline-block;
  top: 31px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.menu-three-bottom-two.is-active {
  transform: rotate(45deg);
  top: 12px;
  left: -8px;
}
.menu-six {
  width: 100px;
  height: 100px;
  margin: auto;
  position: relative;
  left: 0;
  transform: rotate(0);
  transition: all 0.6s ease-in-out;
}
.menu-six:hover {
  cursor: pointer;
}
.menu-six-top-one, .menu-six-top-two, .menu-six-middle, .menu-six-bottom-one, .menu-six-bottom-two {
  position: relative;
  display: block;
  width: 100%;
  height: 10px;
  background: #333;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.6s ease-in-out;
}
.menu-six-top {
  top: 10px;
  left: 0;
}
.menu-six-top-one {
  float: left;
  width: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.menu-six-top-one.is-active {
  box-shadow: 0px 0px 10px 0px #a7a7a7;
}
.menu-six-top-two {
  display: inline-block;
  width: 75px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  top: -1px;
}
.menu-six-top-two.is-active {
  background: #fff;
  box-shadow: inset 0px 0px 3px 2px rgba(255, 0, 0, 0.34);
}
.menu-six-top-two.is-active:before {
  display: block;
  content: "";
  width: 75px;
  height: 10px;
  position: relative;
  top: 0px;
  left: 0px;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0px 0px 10px 3px rgba(255, 0, 0, 0.34);
}
.menu-six-middle {
  top: 15px;
  left: 0;
}
.menu-six-middle.is-active {
  opacity: 0;
  transform: translateX(-50px);
}
.menu-six-bottom-one {
  top: 33px;
  float: left;
  width: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.menu-six-bottom-one.is-active {
  box-shadow: 0px 0px 10px 0px #a7a7a7;
}
.menu-six-bottom-two {
  top: 31px;
  display: inline-block;
  width: 75px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.menu-six-bottom-two.is-active {
  background: #fff;
  box-shadow: inset 0px 0px 3px 2px rgba(0, 16, 206, 0.57);
}
.menu-six-bottom-two.is-active:before {
  display: block;
  content: "";
  width: 75px;
  height: 10px;
  position: relative;
  top: 0px;
  left: 0px;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0px 0px 10px 3px rgba(0, 16, 206, 0.32);
}
.menu-six-saber-one {
  position: relative;
  top: 0;
  transform: rotate(0);
  transition: all 0.6s ease-in-out;
}
.menu-six-saber-one.is-active {
  transform: rotate(-45deg);
  top: 35px;
}
.menu-six-saber-two {
  position: relative;
  top: 0;
  left: 0;
  transform: rotate(0);
  transition: all 0.6s ease-in-out;
}
.menu-six-saber-two.is-active {
  transform: rotate(-135deg);
  top: 28px;
  left: -17px;
}
$('.menu').on('click', function(){
    $('.menu-top, .menu-middle, .menu-bottom').toggleClass('is-active');
});

$('.menu-two').on('click', function(){
    $('.menu-two-top, .menu-two-middle-one, .menu-two-middle-two, .menu-two-bottom').toggleClass('is-active');
});

$('.menu-three').on('click', function(){
    $('.menu-three-top-one, .menu-three-top-two, .menu-three-middle-one, .menu-three-middle-two, .menu-three-bottom-one, .menu-three-bottom-two').toggleClass('is-active');
});

$('.menu-six').on('click', function(){
    $('.menu-six, .menu-six-top-one, .menu-six-top-two, .menu-six-middle, .menu-six-bottom-one, .menu-six-bottom-two, .menu-six-saber-one, .menu-six-saber-two').toggleClass('is-active');
});
Results

Text Fill Hover Transition

Implementation: 1 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<link href="https://fonts.googleapis.com/css?family=Kanit:500,900|Syncopate:700" rel="stylesheet">

<main class="hover-animation">
	<h2 class="hover-animation__text js-hover-animation-text">AWESOMENESS!!</h2>
</main>
:root {
	--color-black: #0b0b0b;
	--color-white: #fff;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Syncopate", sans-serif;
}

.hover-animation {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-white);
}

.hover-animation__text {
	font-size: 7vw;
	position: relative;
	display: inline-block;
	text-align: center;
	background-color: var(--color-white);
	overflow: hidden;
	
	&:not(.is-shown) {
		opacity: 0;
	}
	
	&:before {
		content: "";
		position: absolute;
		top: 5px;
		left: 0;
		width: 100%;
		height: calc(100% - 10px);
		background-color: var(--color-black);
		transform: scaleY(0);
		transform-origin: top;
		transition: transform 0.6s ease-in-out;
		will-change: transform;
	}
	
	& > span {
		color: transparent;
		-webkit-text-stroke-width: 1px;
		-webkit-text-stroke-color: var(--color-black);
	}
	
	& > span:first-child {
		background-color: var(--color-white);
		color: var(--color-black);
		background-position: 50%;
		background-size: 120%;
		mix-blend-mode: lighten;
	}
	
	& > span:last-child {
		position: absolute;
		top: 0;
		left: 0;
	}
	
	&:hover:before {
		transform: scaleY(1);
		transform-origin: bottom;
	}
}
jQuery(function($) {
    $('.js-hover-animation-text').each(function() {
        const $this = $(this);
        
        const wrappedText = $('<span>').text($this.text());
        $this.empty().append(wrappedText);

        const clonedText = wrappedText.clone();
        $this.append(clonedText);
		
		//show text after adding the necessary elements
		$this.addClass('is-shown')
    });
});
Results

Circular Logo Animation Hacks

Implementation: .75 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="logo-animation">
  <div class="logo-animation-container">
    <div class="logo-animation__text logo-animation__text__upper js-logo-text">
      <img src="https://bournewood.webpagefxstage.com/wp-content/uploads/2024/10/bournewood-logo-upper-text.png" alt="">
    </div>
        <div class="logo-animation__text logo-animation__text__lower js-logo-text">
      <img src="https://bournewood.webpagefxstage.com/wp-content/uploads/2024/10/bournewood-logo-bottom-text.png" alt="">
    </div>
    <div class="logo-animation__base js-logo-base">
      <img src="https://bournewood.webpagefxstage.com/wp-content/uploads/2024/10/bournewood-logo-base.png" alt="">
    </div>
  </div>
</div>
.logo-animation {
  background-color: #0a121f;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-animation-container {
  width: 273px;
  position: relative;
}

.logo-animation__base img {
  width: 100%;
  height: auto;
  transform: scale(0);
  opacity: 0;
}

.logo-animation__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 145px;
/*   overflow: hidden; */
}

.logo-animation__text img {
  width: 273px;
  height: 289px;
  position: absolute;
  top: 0;
  transform-origin: center;
  opacity: 0;
}

.logo-animation__text__lower {
  top: auto;
  bottom: 0;
}

.logo-animation__text__lower img {
  top: auto;
  bottom: 0;
}

.logo-animation__text__upper img {
  transform: rotate(45deg);
}

.logo-animation__text__lower img {
  transform: rotate(45deg);
}
const logoAnimation = new TimelineMax();

logoAnimation
  .to('.js-logo-base img', 1, {
    scale: 1,
    opacity: 1,
    ease: Power2.easeInOut
  })
  .staggerTo('.js-logo-text img', 1, {
    rotate: 0,
    opacity: 1,
  }, 0.5, '-=0.2')
Results

Card Stacking

Implementation: 6 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="animation-image-button animation-image-button--v1">
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2024/06/IMG_6181.png" alt="">
                    <span>
                        <span>Premium Visual Events</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #bd0000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2023/02/DSC4606.jpeg" alt="">
                    <span>
                        <span>Essential Audio Visual</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <div class="animation-image-button__text__item__inner">
                        <!-- Add the necessary amount of text you want in your background-->
                    </div>
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2023/02/F8444F1D-D622-441C-BB4B-4FCD01905610_1_105_c.jpeg" alt="">
                    <span>
                        <span>Entertainment</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #bd0000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2024/06/IMG_2591-scaled.jpg" alt="">
                    <span>
                        <span>Concert & Touring</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2023/04/Image_20230401_003741_381-scaled.jpeg" alt="">
                    <span>
                        <span>Distribution</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #bd0000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2024/01/DSC0305-1.jpg" alt="">
                    <span>
                        <span>Rental & Logistics</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2024/06/IMG_2564-scaled.jpeg" alt="">
                    <span>
                        <span>Give Back</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
    <div class="animation-image-button__item js-animation-image-button-item">
        <div class="animation-image-button__card" style="background-color: #bd0000;">
            <div class="animation-image-button__text">
                <div class="animation-image-button__text__item">
                    <!-- Add the necessary amount of text you want in your background-->
                </div>
            </div>
            <a href="#" class="animation-image-button__link">
                <div class="animation-image-button__link__inner">
                    <img src="https://www.lrav.com/wp-content/uploads/2024/06/IMG_2513-scaled-1.jpg" alt="">
                    <span>
                        <span>FX</span>
                    </span>
                </div>
            </a>
        </div>
    </div>
</div>
.animation-image-button {
    height: calc(100vh * 9); /* Update 9 to how many sections */
}

.animation-image-button__item {
    background-color: #fff;
}

.animation-image-button__card {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
jQuery(function($) {
    gsap.registerPlugin(ScrollTrigger);
    
    $('.js-animation-image-button-item').each(function() {
        const $this = $(this);

        gsap.to($this.find('.animation-image-button__card')[0], {
            // scale: 0.8,
            transformOrigin: '50% 50%',
            // opacity: 
            // y: 50,
            scrollTrigger: {
                trigger: $this[0],
                scrub: true,
                start: "bottom bottom",
                pin: true,
                pinSpacing: false,
            }
        })
    })
})
Results

Logo Animation

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="loading-animation">
    <div class="container">
        <div class="loading-animation__logo">
            <svg id="Group_28561" data-name="Group 28561" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 65.59 41.6261">
                <defs>
                    <clipPath id="clippath">
                    <path id="Path_95144" data-name="Path 95144" d="M45.528,11.581c1.3675-.2113,2.7027-.5947,3.974-1.141-1.23,15.467-14.974,19.916-14.974,19.916,22.734-6.082,16.546-25.422,16.546-25.422-.769,1.882-1.435,2.9-5.179,4.34-4.751,1.826-4.6,4.526-4.6,4.526,0,0,.952-1.557,4.228-2.215" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-1">
                    <path id="Path_95145" data-name="Path 95145" d="M65.59,22.37c-4.3852-2.7904-9.8208-3.3765-14.7-1.585l-1.3,2.666s4.971-1.946,9.582-1.153c-1.7215.8324-3.1891,2.1098-4.251,3.7-.5309.7175-1.1128,1.3959-1.741,2.03.185.075.368.152.545.236.5599.2688,1.0902.5956,1.582.975,4.136-3.625,5.092-6.934,10.277-6.868" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-2">
                    <path id="Path_95148" data-name="Path 95148" d="M13.362,28.875c-1.0157-.8416-1.9206-1.8087-2.693-2.878-1.0621-1.59-2.5297-2.8674-4.251-3.7,4.61-.793,9.582,1.153,9.582,1.153l-1.3-2.666c-4.8793-1.7911-10.3147-1.2051-14.7,1.585,5.515-.07,6.245,3.675,11.1,7.559.626-.3883,1.2897-.7123,1.981-.967.088-.033.182-.057.271-.087" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-3">
                    <path id="Path_95146" data-name="Path 95146" d="M31.272,29.194c-10.767-13.468.3-23.764,1.526-24.832,1.222,1.068,12.294,11.364,1.527,24.832,0,0,15.212-13.341-1.527-29.194-16.738,15.853-1.526,29.194-1.526,29.194" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-4">
                    <path id="Path_95147" data-name="Path 95147" d="M31.066,30.356s-13.741-4.444-14.97-19.911c1.2713.5463,2.6065.9297,3.974,1.141,3.276.658,4.228,2.215,4.228,2.215,0,0,.151-2.7-4.6-4.526-3.745-1.439-4.411-2.459-5.179-4.34,0,0-6.188,19.339,16.547,25.422" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-5">
                    <path d="M52.418,31.457l.004.002c.9092.4112,1.6575,1.1106,2.129,1.9901.1752.354.2772.7397.3,1.134.0145.2632-.0104.5272-.074.783-.252.8525-.8191,1.5773-1.586,2.027-1.2946.7606-2.762,1.1778-4.263,1.212-2.9129.0904-5.8193-.3271-8.589-1.234-1.3581-.4128-2.691-.9042-3.992-1.472-.5333.2793-1.0643.5507-1.593.814-.262.1334-.5234.2617-.784.385,1.8966.904,3.8564,1.6691,5.864,2.289,2.9696.9677,6.0853,1.41,9.207,1.307,1.8129-.0536,3.5815-.5726,5.136-1.507,1.2064-.7374,2.0842-1.9091,2.453-3.274.608-2.734-2.03-4.04-4.212-4.456Z" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-6">
                    <path d="M29.496,32.598c-2.3702-1.2236-4.8922-2.1278-7.5-2.689-2.7849-.6638-5.6993-.5419-8.419.3521-1.947.6238-3.5515,2.0212-4.437,3.864-.9733,2.9138.9052,4.1381,3.3675,4.6418-1.2042-.553-1.9316-1.8026-1.8175-3.1227.0388-.2211.1033-.4369.192-.643.6821-1.3304,1.8764-2.3259,3.308-2.757,2.4117-.7792,4.992-.8754,7.455-.278,2.4492.5297,4.8174,1.3815,7.043,2.533l.936.47.666.335c.7714-.3533,1.5477-.7247,2.329-1.114l.028-.014c-.74-.365-1.479-.737-2.216-1.108l-.935-.47Z" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                    <clipPath id="clippath-7">
                    <path id="Path_95151" data-name="Path 95151" d="M47.786,28.61c-3.4921.3523-6.8559,1.5052-9.83,3.369-7.775,4.518-19.687,10.174-28.577,6.441.6554,1.045,1.6242,1.8563,2.768,2.318,2.1522.8206,4.4783,1.0784,6.758.749,6.769-.688,13.951-4.178,19.955-7.665,4.459-2.59,11.907-4.8,16.609-1.806.3218.2039.6232.4383.9.7-.036-.083-.074-.166-.114-.248-.6763-1.3076-1.7738-2.349-3.115-2.956-1.6768-.7533-3.519-1.0632-5.35-.9" style="fill: none; stroke-width: 0px;"/>
                    </clipPath>
                </defs>
                <g class="logo-animation__path js-logo-base" style="clip-path: url(#clippath-7);">
                    <path d="M9.379,38.42s5.3842,3.4672,11.6926,1.8216c0,0,8.2258-2.371,9.5322-3.1452,0,0,9.7963-5.2258,10.0513-5.3226s5.4325-2.5892,8.4325-2.2865c0,0,2.5315-.4432,4.7411,1.0768s2.4262,1.9038,2.4262,1.9038" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 3px;"/>
                </g>
                <g class="logo-animation__path js-logo-base" style="clip-path: url(#clippath-6);">
                    <path d="M13.041,39.0803s-4.2114-1.9677-3.3081-4.0968,2.2604-3.2903,4.0173-3.9355c0,0,3.1763-1.3871,7.1763-.3871,0,0,2.5161.1935,5.1935,1.4516l6.9032,3.2258" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 3px;"/>
                </g>
                <g class="logo-animation__path js-logo-base" style="clip-path: url(#clippath-5);">
                    <path d="M52.0554,31.2093c6.0855,1.374,3.1613,5.7097,3.1613,5.7097-2.9355,2.5806-4.2581,2.6129-9.3226,2.582s-11.4838-3.4182-11.4838-3.4182" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 3px;"/>
                </g>
                <g class="logo-animation__path js-logo-main" style="clip-path: url(#clippath-3);">
                    <path d="M31.4748,29.4873s-8.258-9.3748-5.5161-16.6973c0,0,.8294-5.2903,6.9153-10.9355,0,0,2.375,2.3548,5.375,7.7419,2.6969,4.8429,1.1935,9.9677,1.1935,9.9677,0,0-.9677,6.2334-5.3548,9.9231" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 4px;"/>
                </g>
                <g class="logo-animation__path js-logo-main-item" style="clip-path: url(#clippath);">
                    <path d="M33.97,30.5319s11.1822-3.4839,13.6338-9.7742,3.4193-8.3548,3.4516-10.0968,0-7.3226,0-7.3226c0,0-.4194,4.6774-1.6452,5.871s-5.2258,1.6452-5.2258,1.6452c0,0-3.0323,1.3559-3.1613,3.7425" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 4px;"/>
                </g>
                <g class="logo-animation__path js-logo-main-item" style="clip-path: url(#clippath-4);">
                    <path d="M31.4748,30.5642s-12.8946-5.7-13.3548-9.8709c0,0-2.9796-5.403-3.2903-10.5806l-.2258-5.9032s.3871,5.129,3.6774,5.9032l3.4839,1.0645s2.4597,1.4152,2.6129,2.8064" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 4px;"/>
                </g>
                <g class="logo-animation__path js-logo-main-item" style="clip-path: url(#clippath-1);">
                    <path d="M53.1522,29.194l7-6.404s4.4839-.8064,6.1935-.2581-8.4402-3.7419-17-.1935" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 3px;"/>
                </g>
                <g class="logo-animation__path js-logo-main-item" style="clip-path: url(#clippath-2);">
                    <path d="M12.8297,29.928s-6.5161-7.1703-6.8387-7.138-7.4193-1.1613-7.9032-.7419,11.1703-2.2903,18.6451.4194" style="fill: none; stroke: #0093D0; stroke-miterlimit: 10; stroke-width: 3px;"/>
                </g>
            </svg>
        </div>
    </div>
</div>
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; 
    z-index: 9999;
    overflow: hidden;
}

.loading-animation .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-animation__logo {
    max-width: 300px;
    width: 100%;
}

.loading-animation__logo svg {
    width: 100%;
    height: auto;
}

.logo-animation__path path {
    stroke-dashoffset: 70;
    stroke-dasharray: 70;
}
const $logoAnimationTimeline = new TimelineMax();

$logoAnimationTimeline
    .staggerTo('.js-logo-base path', 1.2, {
        'stroke-dashoffset' : 0,
        ease: Power4.easeInOut,
    }, 0.15)
    .to('.js-logo-main path', 1, {
        'stroke-dashoffset' : 0,
        ease: Power3.easeInOut,
    }, '-=1')
    .staggerTo('.js-logo-main-item path', 1, {
        'stroke-dashoffset' : 0,
        ease: Power3.easeInOut,
    }, 0.15, '-=0.8')
    .to('.js-logo-main path', 1, {
        'stroke-dashoffset' : -70,
        ease: Power3.easeInOut,
    }, '-=0.6')
    .to('.js-logo-main-item path', 1, {
        'stroke-dashoffset' : -70,
        ease: Power3.easeInOut,
    }, '-=0.6')
    .staggerTo('.js-logo-base path', 1.2, {
        'stroke-dashoffset' : -70,
        ease: Power4.easeInOut,
    }, 0.15, '-=1')
    .to('.loading-animation', 1, {
        height: 0,
        'opacity': 0,
        ease: Power2.easeInOut,
    }, '-=0.8')
Results

Parallax Effect with GSAP

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section class="masthead masthead--homepage">
    <div class="masthead__bg">
        <img src="/path-to-image/image.jpg" />
    </div>
    <div class="masthead__wrap">
        <!-- Content Here -->
    </div>
</section>
.masthead {
  position: relative;
}

.masthead__bg {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: translateZ(-1px) scale(1);
}

.masthead__bg img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}
// --- ORANGE PANEL ---
gsap.to(".masthead--homepage img", {
    scrollTrigger: {
        trigger: ".masthead--homepage",
        scrub: true,
        start: "top top",
        end: "+=50%"
    },
    'top': '-15%', 
    ease: "none"
});
Results

Cursor Trail

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="trail-wrapper"></div>
<div class="cursor-follower"></div>
.trail-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
	z-index: 20;
}

.cursor-follower, .trail {
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	background-color: rgba(189, 0, 0, 1);
	filter: blur(15px);
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: -1;
}
  
.trail {
	animation: fadeOut 0.5s ease-in forwards;
}

.trail-wrapper.is-hovered .trail {
	opacity: 0 !important;
}
  
@keyframes fadeOut {
	0% {
	  opacity: 1;
	  transform: translate(-50%, -50%) scale(1);
	}
	100% {
	  opacity: 0;
	  transform: translate(-50%, -50%) scale(0.8);
	}
}
jQuery(function($) {
    $(document).ready(function() {
        const controller = new ScrollMagic.Controller({})

        const $cursor = $('.cursor-follower');
        const $wrapper = $('.trail-wrapper'); // Reference to the trail wrapper
        let mouseX = 0;
        let mouseY = 0;
        let posX = 0;
        let posY = 0;
      
        // Track mouse movement
        $(document).on('mousemove', function(e) {
          mouseX = e.clientX;
          mouseY = e.clientY;
        });
      
        // Create trail effect
        function createTrail() {
          const $trail = $('<div class="trail"></div>').appendTo($wrapper);
          $trail.css({
            left: posX + 'px',
            top: posY + 'px'
          });
      
          // Remove trail after animation completes
          setTimeout(() => {
            $trail.remove();
          }, 500); // Same as the duration of the fadeOut animation
        }
      
        // Update the position of the cursor follower and create trails
        function animate() {
          // Calculate the distance to move
          const distX = mouseX - posX;
          const distY = mouseY - posY;
      
          // Apply easing for smoothness
          posX += distX / 6; // Adjust the divisor for speed
          posY += distY / 6;
      
          // Update the position
          $cursor.css({
            left: posX + 'px',
            top: posY + 'px'
          });
      
          // Create a trail
          createTrail();
      
          // Continue the animation
          requestAnimationFrame(animate);
        }
      
        // Start the animation
        animate();
    });
})
Results

Sidebar Tabs

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="sidebar">
    <div class="container">
        <h2>Sidebar Tabs</h2>
        <div class="sidebar__wrapper">
            <div class="sidebar__wrapper__left">
                <ul class="sidebar__wrapper__options">
                    <li>
                        <button type="button" data-target="#js-tab-content-1" class="is-active js-tab-button">
                            Option #1
                        </button>
                    </li>
                    <li>
                        <button type="button" data-target="#js-tab-content-2" class="js-tab-button">
                            Option #2
                        </button>
                    </li>
                    <li>
                        <button type="button" data-target="#js-tab-content-3" class="js-tab-button">
                            Option #3
                        </button>
                    </li>
                </ul>
            </div>
            <div class="sidebar__wrapper__right">
                <div class="sidebar__wrapper__content js-tab-content is-active" id="js-tab-content-1" style="display: block;">
                    <div class="sidebar__wrapper__inner">
	                    	Test Content #1
											
											<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur aliquet nisi ac ipsum pulvinar fringilla. Phasellus sed ipsum tortor. Vivamus leo leo, tempus non auctor eget, blandit et elit. Proin viverra tellus sed neque euismod, at aliquet leo lobortis. Morbi sollicitudin eleifend nunc, pulvinar aliquam mauris rhoncus porta. Cras pretium vel elit at tempor. Quisque eleifend vitae augue eu ultricies. Morbi eleifend sapien non velit pharetra, in faucibus mauris pharetra. Ut vestibulum et tellus ut gravida.</p>
                    </div>
                </div>
                <div class="sidebar__wrapper__content js-tab-content" id="js-tab-content-2">
                    <div class="sidebar__wrapper__inner">
	                    	Test Content #2
											<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur aliquet nisi ac ipsum pulvinar fringilla. Phasellus sed ipsum tortor. Vivamus leo leo, tempus non auctor eget, blandit et elit. Proin viverra tellus sed neque euismod, at aliquet leo lobortis. Morbi sollicitudin eleifend nunc, pulvinar aliquam mauris rhoncus porta. Cras pretium vel elit at tempor. Quisque eleifend vitae augue eu ultricies. Morbi eleifend sapien non velit pharetra, in faucibus mauris pharetra. Ut vestibulum et tellus ut gravida.</p>
                    </div>
                </div>
                <div class="sidebar__wrapper__content js-tab-content" id="js-tab-content-3">
                    <div class="sidebar__wrapper__inner">
	                    	Test Content #3
											<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur aliquet nisi ac ipsum pulvinar fringilla. Phasellus sed ipsum tortor. Vivamus leo leo, tempus non auctor eget, blandit et elit. Proin viverra tellus sed neque euismod, at aliquet leo lobortis. Morbi sollicitudin eleifend nunc, pulvinar aliquam mauris rhoncus porta. Cras pretium vel elit at tempor. Quisque eleifend vitae augue eu ultricies. Morbi eleifend sapien non velit pharetra, in faucibus mauris pharetra. Ut vestibulum et tellus ut gravida.</p>
											<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur aliquet nisi ac ipsum pulvinar fringilla. Phasellus sed ipsum tortor. Vivamus leo leo, tempus non auctor eget, blandit et elit. Proin viverra tellus sed neque euismod, at aliquet leo lobortis. Morbi sollicitudin eleifend nunc, pulvinar aliquam mauris rhoncus porta. Cras pretium vel elit at tempor. Quisque eleifend vitae augue eu ultricies. Morbi eleifend sapien non velit pharetra, in faucibus mauris pharetra. Ut vestibulum et tellus ut gravida.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
:root {
	--color-white : #fff;
	--color-offwhite : #f8f8f8;
	--color-gray-light: #ddd;
}

body {
		font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  	font-weight: 500;
}

.container {
		max-width: 1220px;
		padding: 50px 22px;
		margin: 0 auto;
}

.sidebar__wrapper {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
}

.sidebar__wrapper__left {
	width: 350px;
}

.sidebar__wrapper__right {
	width: calc(100% - 350px);
	padding-left: 50px;
	display: flex;
	flex-direction: column;
}

.sidebar__wrapper__inner-title {
	margin-bottom: 20px;
}

.sidebar__wrapper__content {
	display: none;
	height: 100%;
}

.sidebar__wrapper__inner {
		border-radius: 10px;
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
		background-color: var(--color-white);
		padding: 30px 50px;
		height: inherit;
		transform: translate(-20px, 0);
		opacity: 0;
		transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
								opacity 0.5s ease-in-out;
}

.sidebar__wrapper__inner p {
	margin: 20px 0 0;
	line-height: 1.6em;
}

.sidebar__wrapper__content.is-active .sidebar__wrapper__inner {
	opacity: 1;
	transform: translate(0, 0);
}

.sidebar__wrapper__options {
	list-style-type: none;
	margin-top: 20px;
}

.sidebar__wrapper__options li:not(:last-child) {
	margin-bottom: 20px;
}

.sidebar__wrapper__options button {
	background-color: var(--color-offwhite);
	border: 0;
	width: 100%;
	padding: 20px;
	border-radius: 10px;
	text-align: left;
	position: relative;
	z-index: 2;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
}

.sidebar__wrapper__options button.is-active:before {
	opacity: 1;
}

.sidebar__wrapper__options button.is-active {
	background-color: var(--color-gray-light);
}
const $button = $('.js-tab-button');
const $tabContent = $('.js-tab-content');

$button.on('click', function() {
	const $this = $(this);
	const $target = $this.attr('data-target');
	const $elementTarget = $($target);
	
	$button.removeClass('is-active');
	$tabContent.removeClass('is-active').fadeOut();
	setTimeout(function() {
		$elementTarget.fadeIn(function() {
			$elementTarget.addClass('is-active');
		});
	}, 200)
	$this.addClass('is-active');
})
Results

Text Stagger Animation

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<h1 class="inner-text-wrap js-inner-text-wrap">
    <span class="inner-text-wrap__inner js-inner-text-wrap-inner">Default Page Template</span>
</h1>
.inner-text-wrap__inner {
    opacity: 0;
}

.inner-text-wrap__inner > span {
    display: inline-block;
}

.inner-text-wrap__inner > span:not(:last-child) {
    margin-right: 15px;
}

.inner-text-wrap__item {
    position: relative;
    transform: translate(50px, 0);
    opacity: 0;
    display: inline-block;
}
$('.js-inner-text-wrap').each(function() {
    const $this = $(this);
    const $thisText = $this.find('.js-inner-text-wrap-inner');
    const titleWords = $thisText.text().split(" ");

    $thisText.empty();

    /* Wrap each word */
    $.each(titleWords, function(i, v) {
        $thisText.append($("<span>").text(v));
    });

    /* Wrap each character in each word */
    $thisText.find('> span').html(function(index, html) {
        return html.replace(/\S/g, '<span class="inner-text-wrap__item">$&</span>');
    });
})

const staggerTextTimeline = new TimelineMax();

staggerTextTimeline
    .set('.js-inner-text-wrap-inner', {
        opacity : 1.
    })
    .staggerTo('.inner-text-wrap__item', 0.5, {
        opacity: 1,
        'transform' : 'translate(0, 0)',
    }, 0.035)
Results

Team Member Carousel

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="tab-accordion js-tab-accordion section-padding">
    <div class="container tab-accordion__container">
        <div class="tab-accordion__wrap">

            <div class="tab-accordion__tabs hidden-xs-down">
                <button class="tab-accordion__tab tab-accordion__tab1 js-tab-accordion-btn is-active" type="button" data-tab-id="tab-dr-chris-yeung" data-tab-image-id="1"> Dr. Chris Yeung </button>
                <button class="tab-accordion__tab tab-accordion__tab1 js-tab-accordion-btn" type="button" data-tab-id="tab-dr-joshua-abrams" data-tab-image-id="2">Dr. Joshua Abrams </button>
                <button class="tab-accordion__tab tab-accordion__tab1 js-tab-accordion-btn" type="button" data-tab-id="tab-dr-justin-field" data-tab-image-id="3">Dr. Justin Field </button>
                <button class="tab-accordion__tab tab-accordion__tab1 js-tab-accordion-btn" type="button" data-tab-id="tab-dr-mark-wang" data-tab-image-id="4"> Dr. Mark Wang </button>
                <button class="tab-accordion__tab tab-accordion__tab1 js-tab-accordion-btn" type="button" data-tab-id="tab-dr-nima-salari" data-tab-image-id="5"> Dr. Nima Salari </button>

                <button class="prevtab tab-arrow"><i class="icon-arrow-left"></i></button>
                <button class="nexttab tab-arrow"><i class="icon-arrow-right"></i></button>
            </div>

            <div class="tab-accordion__panels">
                <article class="tab-accordion__panel js-tab-accordion-panel js-tab-accordion-panel1"
                    data-tab-id="tab-dr-chris-yeung">
                    <button class="tab-accordion__panel__toggle js-tab-accordion-btn hidden-sm-up" type="button"
                        data-tab-id="tab-dr-chris-yeung" data-tab-image-id="1">Dr. Chris Yeung</button>
                    <div class="tab-accordion__panel__content">
                        <div class="tab-details">
                            <div class="doctor-info">
                                <h2>Meet the Doctor</h2>
                                <h3>Christopher A. Yeung, M.D.</h3>

                                <ul>
                                    <li>Top Doc Award by Phoenix Magazine for 2009 – 2010, 2012 – 2023</li>
                                    <li>Phoenix Magazine’s TOP DOCTOR – 10 years Excellence Award</li>
                                </ul>

                                <a href="http://disc-local.webpagefxdev.com/our-team/christopher-a-yeung-m-d/" class="btn btn-tertiary">Learn More</a>
                            </div>
                        </div>
                    </div>
                </article>
                <article class="tab-accordion__panel js-tab-accordion-panel js-tab-accordion-panel1"
                    data-tab-id="tab-dr-joshua-abrams">
                    <button class="tab-accordion__panel__toggle js-tab-accordion-btn hidden-sm-up" type="button"
                        data-tab-id="tab-dr-joshua-abrams" data-tab-image-id="2">Dr. Joshua Abrams</button>
                    <div class="tab-accordion__panel__content">
                        <div class="tab-details">
                            <div class="doctor-info">
                                <h2>Meet the Doctor</h2>
                                <h3>Joshua Abrams, M.D.</h3>

                                <ul>
                                    <li>Top Doc Award by Phoenix Magazine for 2013 – 2015, 2017</li>
                                    <li>Vitals Patients’ Choice Award 2014, 2018, 2020</li>
                                </ul>

                                <a href="http://disc-local.webpagefxdev.com/our-team/joshua-abrams-m-d/" class="btn btn-tertiary">Learn More</a>
                            </div>
                        </div>
                    </div>
                </article>
                <article class="tab-accordion__panel js-tab-accordion-panel js-tab-accordion-panel1" data-tab-id="tab-dr-justin-field">
                    <button class="tab-accordion__panel__toggle js-tab-accordion-btn hidden-sm-up " type="button" data-tab-id="tab-dr-justin-field" data-tab-image-id="3">Dr. Justin Field</button>
                    <div class="tab-accordion__panel__content">
                        <div class="tab-details">
                            <div class="doctor-info">
                                <h2>Meet the Doctor</h2>
                                <h3>Justin Field, M.D.</h3>

                                <ul>
                                    <li>Top Doc Award by Phoenix Magazine for 2009, 2011-2021, 2023</li>
                                    <li>Phoenix Magazine’s TOP DOCTOR – 10 years Excellence Award</li>
                                </ul>

                                <a href="http://disc-local.webpagefxdev.com/our-team/justin-field-m-d/" class="btn btn-tertiary">Learn More</a>
                            </div>
                        </div>
                    </div>
                </article>
                <article class="tab-accordion__panel js-tab-accordion-panel js-tab-accordion-panel1" data-tab-id="tab-dr-mark-wang">
                    <button class="tab-accordion__panel__toggle js-tab-accordion-btn hidden-sm-up" type="button" data-tab-id="tab-dr-mark-wang" data-tab-image-id="4">Dr. Mark Wang</button>
                    <div class="tab-accordion__panel__content">
                        <div class="tab-details">
                            <div class="doctor-info">
                                <h2>Meet the Doctor</h2>
                                <h3>Mark Wang, M.D.</h3>

                                <ul>
                                    <li>Top Doc Award by Phoenix Magazine for 2013, 2014, 2017</li>
                                    <li>Vitals Patients’ Choice Award 2011 – 2018, 2020</li>
                                </ul>
                                <a href="http://disc-local.webpagefxdev.com/our-team/mark-wang-m-d/" class="btn btn-tertiary">Learn More</a>
                            </div>
                        </div>
                    </div>
                </article>
                <article class="tab-accordion__panel js-tab-accordion-panel js-tab-accordion-panel1 is-active" data-tab-id="tab-dr-nima-salari">
                    <button class="tab-accordion__panel__toggle js-tab-accordion-btn hidden-sm-up is-active" type="button" data-tab-id="tab-dr-nima-salari" data-tab-image-id="5">Dr. Nima Salari</button>
                    <div class="tab-accordion__panel__content">
                        <div class="tab-details">
                            <div class="doctor-info">
                                <h2>Meet the Doctor</h2>
                                <h3>Nima Salari, M.D.</h3>

                                <ul>
                                    <li>Top Doc Award by Phoenix Magazine for 2016 – 2017, 2019 – 2020, 2022 – 2023</li>
                                    <li>AZ Top Doctor – 2022</li>
                                </ul>

                                <a href="http://disc-local.webpagefxdev.com/our-team/nima-salari-m-d/" class="btn btn-tertiary">Learn More</a>
                            </div>
                        </div>
                    </div>
                </article>

            </div>
        </div>
        <div class="tab-accordion__image-carousel">
            <div class="doctor-images">
                <div class="doctor-images__item js-doctor-images-item js-doctor-images-item-1" data-doctor-index="2">
                    <img width="493" height="717"
                        src="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-1.png"
                        class="img-responsive" alt="" decoding="async"
                        srcset="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-1.png 493w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-1-206x300.png 206w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-1-413x600.png 413w"
                        sizes="(max-width: 493px) 100vw, 493px"> <span></span>
                </div>
                <div class="doctor-images__item js-doctor-images-item js-doctor-images-item-2" data-doctor-index="3">
                    <img width="469" height="696"
                        src="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-2.png"
                        class="img-responsive" alt="" decoding="async"
                        srcset="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-2.png 469w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-2-202x300.png 202w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-2-404x600.png 404w"
                        sizes="(max-width: 469px) 100vw, 469px"> <span></span>
                </div>
                <div class="doctor-images__item js-doctor-images-item js-doctor-images-item-3" data-doctor-index="4">
                    <img width="452" height="677"
                        src="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-3.png"
                        class="img-responsive" alt="" decoding="async"
                        srcset="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-3.png 452w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-3-200x300.png 200w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-3-401x600.png 401w"
                        sizes="(max-width: 452px) 100vw, 452px"> <span></span>
                </div>
                <div class="doctor-images__item js-doctor-images-item js-doctor-images-item-4" data-doctor-index="5">
                    <img width="447" height="647"
                        src="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-5.png"
                        class="img-responsive" alt="" decoding="async"
                        srcset="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-5.png 447w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-5-207x300.png 207w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-5-415x600.png 415w"
                        sizes="(max-width: 447px) 100vw, 447px"> <span></span>
                </div>
                <div class="doctor-images__item js-doctor-images-item js-doctor-images-item-5" data-doctor-index="1">
                    <img width="416" height="614"
                        src="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-4.png"
                        class="img-responsive" alt="" decoding="async"
                        srcset="http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-4.png 416w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-4-203x300.png 203w, http://disc-local.webpagefxdev.com/wp-content/uploads/2023/03/doctor-4-407x600.png 407w"
                        sizes="(max-width: 416px) 100vw, 416px"> <span></span>
                </div>
            </div>
        </div>
    </div>
    <div class="tab-arrow-btn hidden-sm-up">
        <button class="prevtab tab-arrow"><i class="icon-arrow-left"></i></button>
        <button class="nexttab tab-arrow"><i class="icon-arrow-right"></i></button>
    </div>
</div>
.doctor-images {
    position: relative;
    max-width: 560px;
    height: 570px;
    margin: 0 auto;   
    z-index: 5;
}

.doctor-images__item {
    width: 198px;
    height: auto;
    top: 0;
    left: 0;
    position: absolute;
    transition: width 1s cubic-bezier(0, 0.51, 0.32, 0.95),
                top 1.2s cubic-bezier(0, 0.55, 0.29, 0.99),
                left 1.2s cubic-bezier(0, 0.55, 0.29, 0.99);
}

.doctor-images__item span {
    content: "";
    display: block;
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #fff 33%, transparent 95%);
}

.doctor-images img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 0px 16px rgba(178, 8, 27, 0));
    transition: filter 0.3s ease-in-out;
}

.doctor-images__item[data-doctor-index="1"] {
    width: 392px;
    height: 100%;
    left: calc(50% - 196px);
    opacity: 1;
    z-index: 2;
}

.doctor-images__item[data-doctor-index="2"] {
    left: calc(100% - 194px);
    top: 23.7%;
    z-index: 1;
}

.doctor-images__item[data-doctor-index="3"] {
    left: calc(100% - 251px);
    top: 10.5%;
}

.doctor-images__item[data-doctor-index="4"] {
    left: 12.4%;
    top: 10.5%;
}

.doctor-images__item[data-doctor-index="5"] {
    left: 0.5%;
    top: 23.7%;
    z-index: 1;
}

.doctor-images__item[data-doctor-index="1"] img {
    filter: drop-shadow(0px 0px 16px rgba(178, 8, 27, 0.5));
    transition: filter 0.3s ease-in-out 1s;
}

@media (max-width: 767px) {
    .tab-accordion__image-carousel {
        width: 100%;
        margin: 80px 0 50px;
    }

    .doctor-images {
        max-width: 300px;
        height: 320px;
    }

    .doctor-images__item {
        height: auto;
        width: 150px;
    }

    .doctor-images__item[data-doctor-index="1"] {
        width: 255px;
        height: auto;
        left: calc(50% - 127.5px);
    }

    .doctor-images__item[data-doctor-index="2"] {
        left: calc(115% - 150px);
        top: 20.5%;
    }

    .doctor-images__item[data-doctor-index="3"] {
        left: calc(100% - 155px);
    }

    .doctor-images__item[data-doctor-index="4"] {
        left: 0;
    }

    .doctor-images__item[data-doctor-index="5"] {
        left: -16%;
        top: 20.5%;
    }
    
}
const $doctorImagesItem = $('.js-doctor-images-item');
let flagCount = 3;
let $doctorImagesItemCount = $doctorImagesItem.length;

let array = [
    [1, 2, 3, 4, 5],
    [5, 1, 2, 3, 4],
    [4, 5, 1, 2, 3],
    [3, 4, 5, 1, 2],
    [2, 3, 4, 5, 1]
]

$('.js-tab-accordion-btn').on('click', function() {
    const $this = $(this);
    let arrayNumber = [];
    const $thisTabImageID = parseFloat($this.attr('data-tab-image-id')) - 1;

    flagCount = $thisTabImageID;

    $('.js-doctor-images-item').each(function(e) {
        console.log(e);
        const $this = $(this);
        let $thisDoctorIndex = parseFloat($this.attr('data-doctor-index'));

        $this.attr('data-doctor-index', array[$thisTabImageID][e]);
    })
})

$('.nexttab').on('click', function() {

    if(flagCount < $doctorImagesItemCount) {
        flagCount++;
    } else if (flagCount == $doctorImagesItemCount) {
        flagCount = 1;
    }

    $('.js-doctor-images-item').each(function(e) {
        const $this = $(this);
        let $thisDoctorIndex = parseFloat($this.attr('data-doctor-index'));

        $thisDoctorIndex-=1;

        if(flagCount < $thisDoctorIndex) {}

        if($thisDoctorIndex == 0) {
            $thisDoctorIndex = $doctorImagesItemCount;
        }

        $this.attr('data-doctor-index', $thisDoctorIndex);
    })
})

$('.prevtab').on('click', function() {

    if(flagCount !== 1) {
        flagCount--;
    } else if (flagCount == 1) {
        flagCount = 5;
    }

    $('.js-doctor-images-item').each(function(e) {
        const $this = $(this);
        let $thisDoctorIndex = parseFloat($this.attr('data-doctor-index'));

        if($thisDoctorIndex < $doctorImagesItemCount) {
            $thisDoctorIndex+=1;
        } else if($thisDoctorIndex == $doctorImagesItemCount) {
            $thisDoctorIndex = 1;
        }

        $this.attr('data-doctor-index', $thisDoctorIndex);
    })
})
Results

Drawing Button on Hover

Implementation: .5 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<a href="#" class="hover"> 
  <span class="hover-line hover-line-top"></span>
  <span class="hover-line hover-line-right"></span>
  <span class="hover-line hover-line-bottom"></span>
  <span class="hover-line hover-line-left"></span>
  Hover Me 
</a>
.hover {
  font-family: Helevetica, sans-serif;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  width: 200px;
  height: 50px;
  background: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 20px;
}

.hover:hover .hover-line-top {
  transform: scale(1);
  transform-origin: left;
}

.hover:hover .hover-line-right {
  transform: scale(1);
  transform-origin: top;
  transition-delay: 0.35s;
}

.hover:hover .hover-line-bottom {
  transform: scale(1);
  transform-origin: right;
  transition-delay: 0.65s;
}

.hover:hover .hover-line-left {
  transform: scale(1);
  transform-origin: bottom;
  transition-delay: 0.95s;
}

.hover-line {
  background: #333;
  position: absolute;
  transition: transform 0.2s ease-in-out;
}

.hover-line-top {
  width: 100%;
  height: 2px;
  top: 0;
  transform: scale(0);
  transform-origin: right;
}

.hover-line-right {
  width: 2px;
  height: 100%;
  right: 0;
  transform: scale(0);
  transform-origin: bottom;
  transition-delay: 0.35s;
}

.hover-line-bottom {
  width: 100%;
  height: 2px;
  bottom: 0;
  transform: scale(0);
  transform-origin: left;
  transition-delay: 0.65s;
}

.hover-line-left {
  width: 2px;
  height: 100%;
  left: 0;
  transform: scale(0);
  transform-origin: top;
  transition-delay: 0.95s;
}
Results

Image reveal if reaches certain viewport

Implementation: 1 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="animation-image js-animation-image">
    <div class="animation-image-item js-animation-image-item">
        <img src="{{/path-to-image/img.png}}" alt="">
    </div>
    <div class="animation-image-item js-animation-image-item">
        <img src="{{/path-to-image/img.png}}" alt="">
    </div>
</div>
.animation-image__item {
    overflow: hidden;
}

.animation-image__item img {
    transform: translateY(100%);
}
gsap.registerPlugin(ScrollTrigger);

const $animationImage = $('.js-animation-image');

$animationImage.each(function() {
    const $this = $(this);
    const $thisAnimationImageItem = $this.find('.js-animation-image-item');
    const $thisAnimationImage = $thisAnimationImageItem.find('img');

    const animatedImageTween = new TimelineMax();
        animatedImageTween
            .staggerTo($thisAnimationImage, 1.6, {
                'transform' : 'translateY(0)',
                ease: Power4.easeOut
            }, 0.25, '-=1.2')

    ScrollTrigger.create({
        trigger: $this[0],
        animation: animatedImageTween,
        start: "top 98%",
        end: "200% 100%",
        toggleActions: "play none none reverse"
    });
})
Results

Text on reveal with Overlay

Implementation: 1 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<h2 class="animated-heading js-animated-heading">
	<span class="animated-heading__overlay js-animated-heading-overlay"></span>
	<span class="animated-heading__text">
		Sample Heading
	</span>
</h2>
.animated-heading {
	font-family: montserrat;
	font-size: 50px;
	position: relative;
	transform: scaleX(0);
	transform-origin: left;
}

.animated-heading__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index: 1;
	transform-origin: right;
}
const animatedHeadingTimeline = new TimelineMax();
const $animatedHeadingElement = $('.js-animated-heading');
const $animatedHeadingElementOverlay = $animatedHeadingElement.find('.js-animated-heading-overlay');

animatedHeadingTimeline
	.to($animatedHeadingElement, 0.8, {
		'transform' : 'scaleX(1)',
		ease: Power4.easeInOut
	})
	.to($animatedHeadingElementOverlay, 0.8, {
		'transform' : 'scaleX(0)',
		ease: Power4.easeInOut
	})
Results

Text Drawing Outline Loading Animation

Implementation: 6 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="mask-animation">
    <div class="mask-animation__text">
        <div class="mask-animation__line">
            <span class="top"></span>
            <span class="bottom"></span>
        </div>
        <svg viewBox="0 0 1320 300">
            <text x="50%" y="20%" dy=".35em" text-anchor="middle">
                Interactive
            </text>
            <text x="50%" y="80%" dy=".35em" text-anchor="middle">
                Team Awards
            </text>
        </svg>
    </div>
</div>
.mask-animation {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 22;
    -webkit-mask: url(https://design.webpagefxstage.com/webfx/interactive-awards-landing-page/2022/assets/images/exit-sprite-animation.png);
    mask: url(https://design.webpagefxstage.com/webfx/interactive-awards-landing-page/2022/assets/images/exit-sprite-animation.png);
    -webkit-mask-size: 3000% 100%;
    mask-size: 3000% 100%;
    border: none;
    color: #fff;
    cursor: pointer;
    -webkit-mask-position: 0 0;
            mask-position: 0 0;
}

.mask-animation:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-quaternary);
}

.mask-animation.is-hidden {
    -webkit-animation: maskAnimationOut 1.4s steps(29) forwards;
    animation: maskAnimationOut 1.4s steps(29) forwards;
}

.mask-animation__text {
    position: absolute;
    width: 1200px;
    z-index: 1;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%) skewY(-8deg);
}

.mask-animation svg {
    font-family: var(--font-primary);
    font-weight: 900;
    font-style: italic;
	width: 100%;
    height: 100%;
}

.mask-animation svg {
	text-transform: uppercase;
    fill: rgba(255, 255, 255,0); stroke: var(--color-white);
    stroke-dashoffset: 15%; stroke-dasharray: 0 30%; stroke-width: 2;
	stroke-width: 2;
	stroke: var(--color-white);
	font-size: 140px;
}

.mask-animation svg.is-active {
    animation: stroke 3s forwards;
}

.mask-animation__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mask-animation__line span {
    display: block;
    width: 100%;
    height: 10px;
    background-color: var(--color-white);
    position: absolute;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
}

.mask-animation__line .top {
    top: 135px;
}

.mask-animation__line .bottom {
    bottom: 135px;
}
const maskAnimation = new TimelineMax();

maskAnimation
    .to('.mask-animation__line span', 0.8, {
        'transform' : 'scaleX(1)',
        ease: Power4.easeInOut,
        onComplete: function() {
            setTimeout(function() {
                $('.mask-animation__text svg').addClass('is-active');
            }, 500)
        }
    })
    .to('.mask-animation__line .top', 0.8, {
        'top' : '-80px',
        ease: Power4.easeInOut
    })
    .to('.mask-animation__line .bottom', 0.8, {
        'bottom' : '-80px',
        ease: Power4.easeInOut,
        onComplete: function() {
            setTimeout(function() {
                $('.mask-animation').addClass('is-hidden');
            }, 2500)
        }
    }, '-=0.8')
    .to('.mask-animation', 0.3, {
        'height' : 0,
    }, '+=4')
Results

Play Button Pulse

Implementation: 0.5 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="play js-modal-play">
    <span>
        <svg xmlns="http://www.w3.org/2000/svg" width="18.286" height="24.444" viewBox="0 0 18.286 24.444">
            <path id="Polygon_2" data-name="Polygon 2" d="M10.559,2.488a2,2,0,0,1,3.326,0l8.48,12.687A2,2,0,0,1,20.7,18.286H3.742A2,2,0,0,1,2.08,15.175Z" transform="translate(18.286) rotate(90)" fill="#6cd4ff"></path>
        </svg>
    </span>
</div>
.play {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}

@media (min-width: 768px) {
    .play {
        width: 64px;
        height: 64px;
    }

    .play svg {
        width: 39px;
        height: 29px;
    }
}

@media (min-width: 1025px) {
    .play {
        width: 80px;
        height: 80px;
    }

    .play svg {
        width: 49px;
        height: 39px;
    }
}

.play:before,
.play:after {
    content: "";
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: pulse 1.5s infinite;
}

.play:before {
    background-color: rgba(255, 255, 255, 0.4);
}

.play:after {
    background-color: rgba(255, 255, 255, 0.2);
    animation-delay: 0.3s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
Results

Image Change on Hover

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section class="card-image section-padding">
    <div class="card-image__container">
        <div class="card-image__grid">
            <div class="card-image__item">
                <div class="card-image__box">
                    <div class="card-image__image js-card-image">
                        <span class="card-image__background">
                            <img src="https://wildcard.codestuff.io/r/400/400" alt="">
                        </span>
                        <span class="card-image__title">Box One</span>
                    </div>
                </div>
            </div>
            <div class="card-image__item">
                <div class="card-image__box">
                    <div class="card-image__image js-card-image">
                        <span class="card-image__background">
                            <img src="https://wildcard.codestuff.io/r/450/450" alt="">
                        </span>
                        <span class="card-image__title">Box Two</span>
                    </div>
                </div>
            </div>
            <div class="card-image__item">
                <div class="card-image__box">
                    <div class="card-image__image js-card-image">
                        <span class="card-image__background">
                            <img src="https://wildcard.codestuff.io/r/500/500" alt="">
                        </span>
                        <span class="card-image__title">Box Three</span>
                    </div>
                </div>
            </div>
            <div class="card-image__item">
                <div class="card-image__box">
                    <div class="card-image__image js-card-image">
                        <span class="card-image__background">
                            <img src="https://wildcard.codestuff.io/r/550/550" alt="">
                        </span>
                        <span class="card-image__title">Box Four</span>
                    </div>
                </div>
            </div>
            <div class="card-image__item">
                <div class="card-image__box">
                    <div class="card-image__image js-card-image">
                        <span class="card-image__background">
                            <img src="https://wildcard.codestuff.io/r/600/600" alt="">
                        </span>
                        <span class="card-image__title">Box Five</span>
                    </div>
                </div>
            </div>
            <div class="card-image__item">
                <div class="card-image__box">
                    <div class="card-image__image js-card-image">
                        <span class="card-image__background">
                            <img src="https://wildcard.codestuff.io/r/650/650" alt="">
                        </span>
                        <span class="card-image__title">Box Six</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
.card-image {
    font-family: 'Playfair Display', serif;
}

.card-image__container {
    max-width: 620px;
    margin: 0 auto;
}

.card-image__grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px -40px;
    position: relative;
}

.card-image__grid:before {
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 40px);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.card-image__item {
    width: 50%;
    position: relative;
    border-bottom: 1px solid #ccc;
}

.card-image__box {
    padding: 10px;
}

.card-image__item:nth-child(odd) .card-image__box {
    border-right: 1px solid #ccc;
}

.card-image__item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.card-image__image {
    padding-top: 48%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card-image__background {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ccc;
}

.card-image__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
}

.card-image__title {
    width: 100%;
    text-align: center;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    color: #000;
}
jQuery(function($) {
    $('.js-card-image').on('mouseenter mouseleave', hoverDirection);

    function hoverDirection(event) {
        var $overlay = $(this).find('.card-image__background'),
            side = getMouseDirection(event),
            animateTo,
            positionIn = {
                top: '0%',
                left: '0%'
            },
            positionOut = (function() {
                switch(side) {
                case 0:  return { top: '-100%', left:    '0%' }; break;
                case 1:  return { top:    '0%', left:  '100%' }; break;
                case 2:  return { top:  '100%', left:    '0%' }; break;
                default: return { top:    '0%', left: '-100%' }; break;
                }
            })();
        if ( event.type === 'mouseenter' ) {
            animateTo = positionIn;
            $overlay.css(positionOut);
        } else {
            animateTo = positionOut;
        }
        $overlay.stop(true).animate(animateTo, 200, 'linear');
    }
    
    function getMouseDirection(event) {
        var $item = $(event.currentTarget),
            offset = $item.offset(),
            w = $item.outerWidth(),
            h = $item.outerHeight(),
            x = (event.pageX - offset.left - w / 2) * ((w > h) ? h / w: 1),
            y = (event.pageY - offset.top - h / 2) * ((h > w) ? w / h: 1),
            direction = Math.round((Math.atan2(y, x) * (180 / Math.PI) + 180) / 90  + 3) % 4;
        return direction;
    }
})
Results

Line Hover Animation

Implementation: 1 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<ul class="menu-list">
    <li class="menu-list__item">
        <a href="#" class="menu-list__link">Sample Link 1</a>
    </li>
    <li class="menu-list__item">
        <a href="#" class="menu-list__link">Sample Link 2</a>
    </li>
    <li class="menu-list__item">
        <a href="#" class="menu-list__link">Sample Link 3</a>
    </li>
</ul>
.menu-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.menu-list__item {
    display: inline-block;
    vertical-align: middle;
    border: 0;
}

.menu-list__item:not(:last-child) {
    margin-right: 5px;
}

.menu-list__link {
    display: block;
    position: relative;
    padding: 15px 0;
}

.menu-list__link:before {
    content:  "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: right;    
    transition: transform 0.3s ease-in-out;
}

.menu-list__link:hover:before {
    transform-origin: left;
    transform: scaleX(1);
}
Results

Homepage Masthead Intro Animation

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section id="static-header-block_0abc51a3a448b2775ed5957fb92f5c28" class="masthead masthead--homepage static-header js-masthead-static js-parallax">
    <div class="logo-animation">
        <div class="logo-animation__container">
            <div class="logo-animation__main">
                <img src="/wp-content/themes/fx/assets/img/tritek-logo/tritek-logo-1.png" alt="Homepage">
                <img src="/wp-content/themes/fx/assets/img/tritek-logo/tritek-logo-2.png" alt="Homepage">
                <img src="/wp-content/themes/fx/assets/img/tritek-logo/tritek-logo-3.png" alt="Homepage">
            </div>
            <img class="logo-animation__text" src="/wp-content/themes/fx/assets/img/tritek-logo/tritek-logo-text.svg" alt="Homepage">
        </div>
    </div>

    <img width="1920" height="969" src="https://tritek.com/wp-content/uploads/2023/04/hero-img.jpg" class="masthead--homepage__bg object-fit" alt="person sending mail">
    <div class="masthead__wrap clearfix">
        <div class="container">
            <div class="masthead__text text-center">
                <div class="masthead__text__item">
                    <h6 class="masthead__subheading subheading">Patented. Field-proven. Highly configurable.</h6>
                </div>

                <div class="masthead__text__item">
                    <h1 class="masthead__heading">Mailroom Automation</h1>
                </div>

                <div class="masthead__text__item">
                    <h1 class="masthead__heading border-text">Solutions</h1>
                </div>

                <div class="masthead__text__item">
                    <p class="masthead__paragraph">Our mail processing equipment and imaging systems provide innovative
                        solutions for inbound, outbound and custom mail applications.</p>
                </div>

                <div class="masthead__text__item">
                    <a href="https://tritek.com/contact-us/" class="btn btn-primary">Contact Us</a>
                </div>
            </div>
        </div>
    </div>

    <div class="banner-svg banner-svg-1 hidden-md-down js-masthead-design-element masthead-design-element" data-parallax-y="200">
        <span></span>
        <span></span>
        <span></span>
    </div>
    <div class="banner-svg banner-svg-2 hidden-md-down js-masthead-design-element masthead-design-element" data-parallax-y="-120">
        <span></span>
        <span></span>
        <span></span>
    </div>
    <div class="banner-svg banner-svg-3 hidden-md-down js-masthead-design-element masthead-design-element" data-parallax-y="150">
        <span></span>
        <span></span>
        <span></span>
    </div>
    <div class="banner-svg banner-svg-4 hidden-md-down js-masthead-design-element masthead-design-element" data-parallax-y="100">
        <span></span>
        <span></span>
        <span></span>
    </div>
    <div class="banner-svg banner-svg-5 hidden-md-down js-masthead-design-element masthead-design-element" data-parallax-y="-250">
        <span></span>
        <span></span>
        <span></span>
    </div>
</section>
.masthead--homepage {
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
    background: linear-gradient(135deg,  rgba(25,40,70,1) 0%,rgba(47,85,220,1) 100%);
}

.masthead--homepage__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.65;
}

.masthead__wrap {
    position: relative;
    z-index: 1;
}

.masthead__wrap::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.5;
    background: linear-gradient(to right,  rgba(25,40,70,1) 0%,rgba(25,40,70,0) 56%,rgba(25,40,70,0) 100%);
}

.masthead__wrap::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 225px;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.84;
    background: linear-gradient(to bottom,  rgba(25,40,70,1) 0%,rgba(25,40,70,0) 100%);
}

.masthead__text {
    padding: 91px 0 76px 0;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.masthead__text .masthead__subheading {
    color: var(--white);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 24px;
    line-height: 1.428em;
    margin-bottom: 14px;
}

.masthead__text .masthead__subheading::before {
    color: var(--white);
    opacity: 1;
    width: 100%;
    top: 0;
    transform: translate(0);
}

.masthead__text .masthead__heading {
    font-size: 30px;
    letter-spacing: -0.02em;
    line-height: 1.2em;
    color: var(--white);
}

.masthead__text .masthead__heading.border-text {
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--white);
    font-size: 72px;
    line-height: 1em;
    padding-bottom: 18px;
}

.masthead__text .masthead__heading.border-text::selection {
    color: var(--white);
    background: rgba(255, 255, 255, .25);
}

.masthead__text .masthead__paragraph {
    padding-bottom: 25px;
}

.banner-svg-1 {
    position: absolute;
    top: 162px;
    left: -16px;
    z-index: 1;
}

.banner-svg-2 {
    position: absolute;
    top: 450px;
    left: 117px;
    z-index: 1;
}

.banner-svg-3 {
    position: absolute;
    top: 170px;
    right: -46px;
    z-index: 1;
}

.banner-svg-4 {
    position: absolute;
    top: 360px;
    right: 138px;
    z-index: 1;
}

.banner-svg-5 {
    position: absolute;
    top: 580px;
    right: 202px;
    z-index: 1;
}

@media (min-width: 768px) {
    .masthead__text {
        padding: 130px 0 93px 0;
        width: 594px;
        margin: 0 auto;
    }

    .masthead__text .masthead__subheading {
        padding-left: 0;
        padding-right: 0;
        padding-top: 35px;
    }


    .masthead__text .masthead__heading {
        font-size: 50px;
    }

    .masthead__text .masthead__heading.border-text {
        font-size: 120px;
    }

    .masthead__text .masthead__paragraph {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 32px;
        font-size: 20px;
        line-height: 1.35em;
    }


}

@media (min-width: 1200px) {
    .masthead__text {
        padding: 196px 0 133px 0;
        width: 728px;
        margin: 0 auto;
    }

    .masthead__text .masthead__subheading {
        padding-left: 32px;
        padding-right: 0;
        padding-top: 0;
    }

    .masthead__text .masthead__subheading::before {
        width: auto;
    }


    .masthead__text .masthead__heading {
        font-size: 60px;
    }

    .masthead__text .masthead__heading.border-text {
        font-size: 145px;
        padding-bottom: 0;
    }

    .masthead__text .masthead__paragraph {
        padding-left: 0;
        padding-right: 0;
    }


}

@media (min-width: 1600px) {
    .masthead__text {
        padding: 280px 0 183px 0;
        width: 892px;
    }

    .masthead__text .masthead__heading {
        font-size: 85px;
    }

    .masthead__text .masthead__heading.border-text {
        font-size: 200px;
    }

    .masthead__text .masthead__paragraph {
        font-size: 24px;
        padding-bottom: 35px;
    }

    .banner-svg-1 {
        top: 294px;
    }

    .banner-svg-2 {
        top: 582px;
        left: 114px;
    }

    .banner-svg-3 {
        top: 357px;
    }

    .banner-svg-4 {
        top: 554px;
    }

    .banner-svg-5 {
        top: 788px;
    }

}

/* Styles for Animation */

.masthead--homepage .container {
    position: relative;
}

.masthead--homepage .masthead__wrap {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-animation {
    width: 258px;
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: hidden;
}

.logo-animation__container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-animation__main {
    width: 48px;
    height: 48px;
    position: relative;
}

.logo-animation__text {
    width: calc(100% - 48px);
    padding-left: 10px;
    height: auto;
    transform: translate(0, 50px);
    opacity: 0;
}

.logo-animation__main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.logo-animation__main img:first-child {
    top: 10px;
}

.logo-animation__main img:nth-child(2) {
    top: -10px;
    left: -12px;
}

.logo-animation__main img:nth-child(3) {
    top: -10px;
    left: 12px;
}


/*Banner Design Elements Styles*/
svg.banner-svg {
    opacity: 0;
    display: none;
}

.banner-svg span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(33.33% - 16px);
    overflow: hidden;
    opacity: 0;
    transform: translate(0, 50px);
}

.banner-svg span:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-svg span:first-child {
    top: 0;
}

.banner-svg span:nth-child(2) {
    top: calc(50% - 13.07%);
}

.banner-svg span:nth-child(3) {
    bottom: 0;
}

.banner-svg-1 {
    width: 161px;
    height: 243px;
}

.banner-svg-1 span:before {
    background-image: url('/wp-content/themes/fx/assets/img/svg-icons/icon-svg-blue.svg');
}

.banner-svg-2 {
    width: 62px;
    height: 94px;
}

.banner-svg-2 span {
    height: calc(33.33% - 4px);
}

.banner-svg-2 span:before {
    background-image: url('/wp-content/themes/fx/assets/img/svg-icons/icon-svg-white-border.svg');
}

.banner-svg-2 span:nth-child(2) {
    top: calc(50% - 13.07%);
}

.banner-svg-3 {
    height: 293px;
    width: 194px;
}

.banner-svg-3 span {
    height: calc(33.33% - 16px);
}

.banner-svg-3 span:before {
    opacity: 0.4;
    background-image: url('/wp-content/themes/fx/assets/img/svg-icons/icon-svg-white-transparent.png');
}

.banner-svg-4 {
    width: 129px;
    height: 195px;
}

.banner-svg-4 span {
    height: calc(33.33% - 4px);
}

.banner-svg-4 span:before {
    background-image: url('/wp-content/themes/fx/assets/img/svg-icons/icon-svg-orange-border.svg');
}

.banner-svg-5 {
    height: 120px;
    width: 79px;
}

.banner-svg-5 span {
    height: calc(33.33% - 4px);
}

.banner-svg-5 span:nth-child(2) {
    top: calc(50% - 13.07%);
}

.banner-svg-5 span:before {
    transform: scale(1, -1);
    background-image: url('/wp-content/themes/fx/assets/img/svg-icons/icon-svg-blue.svg');
}
const mastheadAnimation = new TimelineMax();
mastheadAnimation
    .staggerTo('.logo-animation__main img', 0.35, {
        top    : 0,
        left   : 0,
        repeat : 2,
        yoyo   : true,
        ease   : Power4.easeInOut
    }, 0.075)
    .to('.logo-animation__text', 1.2, {
        'transform' : 'translate(0, 0)',
        opacity     : 1,
        ease        : Power4.easeInOut
    }, '-=1')
    .to('.logo-animation__container', 1, {
        y          : -100,
        ease       : Power4.easeInOut,
        onComplete : function() {
            $('.logo-animation').hide()
        }
    }, '-=0.35')
    .to('.masthead--homepage', 1.6, {
        height     : $mastheadText,
        ease       : Power4.easeInOut,
    }, '-=1.1')
    .staggerTo('.masthead__text__item > *', 1.6, {
        'transform' : 'translate(0, 0)',
        ease        : Power4.easeInOut,
    }, 0.125, '-=1.5')
    .staggerTo('.js-masthead-design-element', 1.2, {
        'transform' : 'translate(0, 0)',
        'opacity'   : 1,
        ease        : Power4.easeInOut
    }, 0.1, '-=1.45')
    .staggerTo('.banner-svg span', 1.2, {
        'transform' : 'translate(0, 0)',
        'opacity'   : 1,
        ease        : Power4.easeInOut
    }, 0.15, '-=2.25')
    .to('.page-header .container-fluid', 1.2, {
        'transform' : 'translate(0, 0)',
        'opacity'   : 1,
        ease        : Power4.easeInOut,
        onComplete  : function() {
            $('.masthead__text').addClass('is-animation-done');
            $('.masthead--homepage').addClass('is-animation-done').removeAttr('style');
            $('.banner-svg').addClass('is-animation-ready');
        }
    }, '-=1')
Results

Pixel Concept Animation

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section class="pixel-image">
  <img src="https://placedog.net/500/500" alt="">
  <div class="pixel-image__overlay">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
  </div>
</section>
.pixel-image {
  width: 500px;
  padding-top: 45%;
  position: relative;
  margin: 0 auto;
}

.pixel-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.pixel-image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

.pixel-image__overlay span {
  width: 33.33%;
  opacity: 1;
  background-color: #f0932b;
}
const pixelOverlay = $('.pixel-image__overlay span').toArray();
pixelOverlay.sort(function () {
    return 0.5 - Math.random()
});
TweenMax.staggerTo(pixelOverlay, 0.5, {
    autoAlpha: 0,
    ease: Quad.easeInOut
}, 0.15);
Results

Icon Animations

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="toggle-menu js-toggle-menu">
    <span>
        <span></span>
        <span></span>
        <span></span>
    </span>
</div>
<div class="search-toggle js-search-toggle">
    <span></span>
    <i class="icon-search"></i>
</div>
.toggle-menu {
    color: #fff;
    font-size: 22px;
}

.toggle-menu {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-menu > span {
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
}

.toggle-menu > span span {
    display: block;
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition: background 0.3s ease-in-out,
                top 0.3s var(--easing-1)  0.25s,
                bottom 0.3s var(--easing-1)  0.25s,
                left 0.3s var(--easing-1)  0.25s,
                transform 0.3s var(--easing-1),
                opacity 0.3s ease-in-out  0.25s;
}

.toggle-menu.is-active > span span {
    transition: background 0.3s ease-in-out,
                top 0.3s var(--easing-1),
                bottom 0.3s var(--easing-1),
                left 0.3s var(--easing-1),
                transform 0.3s var(--easing-1) 0.25s,
                opacity 0.3s ease-in-out;
}

.toggle-menu > span span:first-child {
    transform-origin: top left;
}

.toggle-menu > span span:last-child {
    transform-origin: top left;
}

.toggle-menu > span span:first-child {
    top: 2px;
}

.toggle-menu > span span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.toggle-menu > span span:last-child {
    bottom: 2px;
}

.toggle-menu.is-active > span span:first-child {
    top: 16px;
    transform: rotate(-45deg);
    left: 2px;
}

.toggle-menu.is-active > span span:last-child {
    bottom: 16px;
    left: 3px;
    transform: rotate(45deg);
}

.toggle-menu.is-active > span span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.toggle-menu.is-active > span span {
    background-color: #ccc;
}

.search-toggle {
    color: var(--color-green-light);
    font-size: 19px;
    margin-right: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -1px;
}

.search-toggle span {
    position: absolute;
    width: 20px;
    height: 20px;
    display: block;
}

.search-toggle span:before,
.search-toggle span:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-green-light);
    position: absolute;
    top: 30%;
    opacity: 0;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.4s var(--easing-1),
                opacity 0.3s ease-in-out,
                top 0.4s var(--easing-1),
                right 0.4s var(--easing-1),
                left 0.4s var(--easing-1);
}

.search-toggle span:before {
    left: -20px;
}

.search-toggle span:after {
    right: -20px;
}

.search-toggle.is-active span:before,
.search-toggle.is-active span:after {
    transition: transform 0.4s var(--easing-1) 0.05s,
                opacity 0.3s ease-in-out,
                top 0.4s var(--easing-1) 0.05s,
                right 0.4s var(--easing-1) 0.05s,
                left 0.4s var(--easing-1) 0.05s;
}

.search-toggle.is-active span:before {
    opacity: 1;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.search-toggle.is-active span:after {
    opacity: 1;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.search-toggle i {
    opacity: 1;
    transform: scale(1);
    transition: transform 0.4s var(--easing-1),
                opacity 0.3s ease-in-out;
}
$('.js-toggle-menu').on('click', function() {
	const $this = $(this);

	$this.toggleClass('is-active');
})

$('.js-search-toggle').on('click', function() {
	$('.js-search-toggle').toggleClass('is-active');
})
Results

Content Showing on Viewport

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="sub-heading animated-text js-animated-text">
    <span class="animated-text-container js-animated-text-container">
        <span class="animated-text-inner js-animated-text-inner">Sample Subheading</span>
    </span>
</div>
<h2 class="animated-text js-animated-text">
    <span class="animated-text-container js-animated-text-container">
        <span class="animated-text-inner js-animated-text-inner">Sample Heading</span>
    </span>
</h2>
<div class="animated-text js-animated-text">
    <div class="animated-text-container js-animated-text-container">
        <div class="animated-text-inner js-animated-text-inner">
            <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Eligendi recusandae architecto asperiores dolorem quaerat, veniam mollitia laudantium eum inventore facilis at amet. Consectetur dolor exercitationem quisquam maiores inventore praesentium porro.</p>
        </div>
    </div>
</div>
.animated-text-container {
    position: relative;
    display: inline-block;
    transform: translateX(-100%);
    overflow: hidden;
    line-height: 1.18em;
}

.animated-text-inner {
    position: relative;
    display: inline-block;
    transform: translateX(calc(100% + 10px));
    line-height: 1em;
}
const $animatedText = $('.js-animated-text');
$animatedText.each(function() {
    const $this = $(this);
    const $thisAnimatedTextContainer = $this.find('.js-animated-text-container');
    const $thisAnimatedTextInner = $this.find('.js-animated-text-inner');

    const animatedTextTween = new TimelineMax();
        animatedTextTween
            .to($thisAnimatedTextInner, 1.4, {
                'transform' : 'translateX(0)',
                opacity: 1,
                ease: Power4.easeOut
            })
            .to($thisAnimatedTextContainer, 1.4, {
                'transform' : 'translateX(0)',
                opacity: 1,
                ease: Power4.easeOut
            }, '-=1.38')

    new ScrollMagic.Scene({
        triggerElement: $this[0],
        triggerHook: 0.95
    })
    .setTween(animatedTextTween)
    .addTo(controller);
})
Results

Modal Popup with GSAP

Implementation: 2 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<div class="cta-modal js-cta-modal">
	<div class="cta-modal-container">
		<div class="cta-modal-background js-cta-background"> <span></span> </div>
		<button class="cta-modal-close js-cta-modal-close"></button>
		<div class="cta-modal-inner">
			<img width="128" height="128" src="https://www.kidsspotrehab.com/wp-content/uploads/2021/09/favicon-2.png" />
			<h2 class="cta-modal-title cta-modal-animation js-cta-animation-item">Heading</h2>
			<p class="cta-modal-animation js-cta-animation-item">
				Test Description
			</p>
			<a href="https://www.kidsspotrehab.com/contact/" class="btn btn-green-gradient cta-modal-animation js-cta-animation-item">CONTACT US TODAY</a>
		</div>
	</div>
</div>
.cta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    z-index: 999999999999;
    background-color: rgba(0,0,0,.7)
}

.cta-modal-container {
    max-width: 979px;
    width: calc(100% - 40px);
    margin: 0 auto;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 30px 20px 50px;
    border-radius: 22px;
    text-align: center;
    overflow: hidden
}

@media (min-width: 768px) {
    .cta-modal-container {
        padding:50px 100px 150px 100px
    }
}

.cta-modal-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(140deg,rgba(226,247,237,1) 20%,rgba(224,233,244,1) 100%)
}

.cta-modal-background span {
    content: "";
    display: block;
    width: 100%;
    height: 144px;
    background-image: url(https://www.kidsspotrehab.com/wp-content/uploads/2021/08/cta-modal-curve.png);
    background-repeat: repeat-x;
    position: absolute;
    top: 0;
    left: 0
}

.cta-modal-inner {
    position: relative;
    z-index: 1
}

.cta-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    outline: none;
    border: 0;
    background-color: transparent;
    border: 1px solid transparent;
    transition: border 0.2s ease-in-out;
    border-radius: 50%
}

.cta-modal-close:hover {
    border-color: #001D95
}

.cta-modal-close:hover:before,.cta-modal-close:hover:after {
    transform: translateY(-50%) rotate(0)
}

.cta-modal-close:before,.cta-modal-close:after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #001D95;
    transition: transform 0.3s ease-in-out
}

.cta-modal-close:before {
    transform: translateY(-50%) rotate(45deg)
}

.cta-modal-close:after {
    transform: translateY(-50%) rotate(-45deg)
}

.cta-modal-animation {
    position: relative;
    top: -50px;
    opacity: 0
}

@media (max-width: 768px) {
    .cta-modal-title {
        font-size:24px;
        margin: 30px 0
    }

    .cta-modal img {
        width: 100px;
        height: auto
    }
}

@media (min-width: 1024px) {
    .locations-content {
        padding-right:80px
    }
}
const popupAnimation = new TimelineMax({});
popupAnimation
	.to('.js-cta-modal', 0.6, {
		'height' : '100%',
	})
	.to('.js-cta-background', 0.6, {
		'height' : '35%',
	}, '-=0.5')
	.to('.js-cta-background span', 0.6, {
		'background-position' : '1200px 0'
	}, '-=0.45')
	.staggerTo('.js-cta-animation-item', 0.3, {
		'opacity' : 1,
		'top' : 0
	}, 0.03 ,'-=0.35')
Results

Filter grid posts by category with Isotope

Implementation: 8 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section class="brokers-list section-padding hard-top">
    <div class="container">
        <div class="brokers-list__upper">
            <div class="brokers-list__upper__title">
                <h2 class="h1">Search for a Broker</h2>
            </div>
            
                <div class="brokers-list__upper__form__item">
                    <p>Search by Name</p>
                    <div class="form-col">
                        
                        <label for="search-by-name">Search…</label>
                    </div>
                </div>
                <div class="brokers-list__upper__form__item">
                    <p>Filter by State</p>
                    <div class="form-col">
                        
                            Select One
                            Alabama
                            Arizona
                        
                    </div>
                </div>
                <div class="brokers-list__upper__form__item">
                    <button class="btn btn-primary" type="submit" id="js-search-broker">Go</button>
                </div>
            
        </div>
        <div class="brokers-list__container">
            <div class="brokers-list__list">
                <div class="brokers-list__item alabama">
                    <article class="brokers-list__card js-broker-list-button" data-modal-target="#js-broker-list-modal-397">
                        <div class="brokers-list__logo">
                            <img width="160" height="160" src="https://www.transflo.com/wp-content/uploads/2022/11/brokers-list-placeholder-image.png">
                        </div>
                        <div class="brokers-list__content">
                            <span>
                                <i class="icon-location"></i>
                                <span>Alabama</span>
                            </span>
                            <h3>Allied Logistics, LLC</h3>
                        </div>
                        <div class="brokers-list__arrow">
                            <span>Learn More</span>
                            <i class="icon-button-right"></i>
                        </div>
                    </article>
                </div>
                <div class="brokers-list__item alabama">
                    <article class="brokers-list__card js-broker-list-button" data-modal-target="#js-broker-list-modal-398">
                        <div class="brokers-list__logo">
                            <img width="394" height="128" src="https://www.transflo.com/wp-content/uploads/2022/11/image-1.webp">
                        </div>
                        <div class="brokers-list__content">
                            <span>
                                <i class="icon-location"></i>
                                <span>Alabama</span>
                            </span>
                            <h3>AMX Logistics</h3>
                        </div>
                        <div class="brokers-list__arrow">
                            <span>Learn More</span>
                            <i class="icon-button-right"></i>
                        </div>
                    </article>
                </div>
                <div class="brokers-list__item arizona">
                    <article class="brokers-list__card js-broker-list-button" data-modal-target="#js-broker-list-modal-783">
                        <div class="brokers-list__logo">
                            <img width="220" height="220" src="https://www.transflo.com/wp-content/uploads/2022/11/freightvana-logo.png"> 
                        </div>
                        <div class="brokers-list__content">
                            <span>
                                <i class="icon-location"></i>
                                <span>Arizona</span>
                            </span>
                            <h3>FreightVana LLC</h3>
                        </div>
                        <div class="brokers-list__arrow">
                            <span>Learn More</span>
                            <i class="icon-button-right"></i>
                        </div>
                    </article>
                </div>
                <div class="brokers-list__item arizona">
                    <article class="brokers-list__card js-broker-list-button" data-modal-target="#js-broker-list-modal-786">
                        <div class="brokers-list__logo">
                            <img width="220" height="220" src="https://www.transflo.com/wp-content/uploads/2022/11/fresh-avenue-logo.png"> 
                        </div>
                        <div class="brokers-list__content">
                            <span>
                                <i class="icon-location"></i>
                                <span>Arizona</span>
                            </span>
                            <h3>Fresh Avenue Partners LLC</h3>
                        </div>
                        <div class="brokers-list__arrow">
                            <span>Learn More</span>
                            <i class="icon-button-right"></i>
                        </div>
                    </article>
                </div>
                <div class="brokers-list__item iowa">
                    <article class="brokers-list__card js-broker-list-button" data-modal-target="#js-broker-list-modal-392">
                        <div class="brokers-list__logo">
                            <img width="160" height="160" src="https://www.transflo.com/wp-content/uploads/2022/11/brokers-list-placeholder-image.png"> </div>
                        <div class="brokers-list__content">
                            <span>
                                <i class="icon-location"></i>
                                <span>Iowa</span>
                            </span>
                            <h3>5050 Freight, LLC</h3>
                        </div>
                        <div class="brokers-list__arrow">
                            <span>Learn More</span>
                            <i class="icon-button-right"></i>
                        </div>
                    </article>
                </div>
            </div>
            <div class="brokers-list__pagination">
                <div class="brokers-list__pagination__text">
                    <p>Showing <span class="showing-result">12</span> of <span class="total-result">250</span> Results
                    </p>
                </div>
                <div class="brokers-list__pagination__wrapper">
                    <div class="brokers-list__pagination__bar"></div>
                </div>
                <div class="brokers-list__pagination__button">
                    <a id="load-more" class="btn btn-primary">Load More</a>
                </div>
            </div>
        </div>
    </div>
</section>
.brokers-list .btn {
    margin-bottom: 0;
}

.brokers-list__upper {
    background-color: var(--color-tertiary);
    border-radius: 20px;
    padding: 30px 22px;
}

@media (min-width: 768px) {
    .brokers-list__upper {
        padding: 40px 60px;
    }
}

@media (min-width: 1200px) {
    .brokers-list__upper {
        padding: 50px 70px;
    }
}

.brokers-list__upper h2,
.brokers-list__upper p {
    color: var(--color-white);
    margin: 0;
    padding: 0;
}

.brokers-list__upper p {
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.brokers-list__upper__form {
    margin-top: 30px;
}

.brokers-list__upper__form .form-col {
    margin-bottom: 0;
}

.brokers-list__upper__form__item:not(:last-child) {
    margin-bottom: 30px;
}

.brokers-list__upper__form__item .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .brokers-list__upper__form {
        margin: 0 -15px;
    }

    .brokers-list__upper__form__item {
        flex: 1;
        padding: 0 15px;
    }

    .brokers-list__upper__form__item:not(:last-child) {
        margin-bottom: 0;
    }

    .brokers-list__upper__form__item:last-child {
        flex: initial;
    }

    .brokers-list__upper__form {
        display: flex;
        align-items: flex-end;
        margin-top: 10px;
    }
}

@media (min-width: 1200px) {
    .brokers-list__upper__form {
        margin-top: 0;
    }

    .brokers-list__upper {
        display: flex;
        align-items: center;
    }

    .brokers-list__upper p {
        margin-bottom: 10px;
    }

    .brokers-list__upper__title {
        padding-right: 55px;    
    }

    .brokers-list__upper__form {
        display: flex;
        align-items: flex-end;
        flex: 1;
        margin-top: 0;
    }
}

.brokers-list__list {
    display: flex;
    flex-wrap: wrap;
}

.brokers-list__item {
    width: 100%;
}

.brokers-list__item:not(:last-child) {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .brokers-list__list {
        margin: 0 -16px -32px;
    }

    .brokers-list__item {
        width: 50%;
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .brokers-list__item:not(:last-child) {
        margin-bottom: 32px;
    }
}

@media (min-width: 1200px) {
    .brokers-list__item {
        width: 33.33%;
    }
}

.brokers-list__container {
    margin-top: 40px;
}

@media (min-width: 1200px) {
    .brokers-list__container {
        margin-top: 50px;
    }
}

@media (min-width: 1200px) {
    .brokers-list__container {
        margin-top: 60px;
    }
}

.brokers-list__content h3 {
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.brokers-list__card {
    display: flex;
    align-items: center;
    background-color: var(--color-offwhite);
    border-radius: 20px;
    padding: 15px;
    padding-bottom: 70px;
    cursor: pointer;
    position: relative;
}

@media (min-width: 768px) {
    .brokers-list__card {
        min-height: 215px;
    }
}

@media (min-width: 1200px) {
    .brokers-list__card {
        min-height: 190px;
    }
}

.brokers-list__logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 7px;
}

.brokers-list__logo img {
    width: 100%;
    height: auto;
}

.brokers-list__content {
    padding-left: 30px;
    width: calc(100% - 110px);
}

.brokers-list__content > span {
    font-size: 14px;
    color: var(--color-tertiary);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 7px;
}

.brokers-list__content > span i {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
}

.brokers-list__arrow {
    font-size: 20px;
    color: var(--color-white);
    position: absolute;
    right: 0;
    bottom: 0;
    width: 56px;
    height: 56px;
    border-radius: 20px 0 20px 0;
    background: var(--color-primary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.brokers-list__arrow > span {
    font-size: 18px;
    font-family: 'avenir_next_lt_prodemi';
    display: inline-block;
    position: absolute;
    right: 0;
    width: 200px;
    text-align: right;
    padding-right: 50px;
    opacity: 0;
    right: 30px;
    transition: opacity 0.25s ease-in-out,
                right 0.25s ease-in-out;
}

@media (min-width: 1200px) {

    .brokers-list__arrow {
        background-color: transparent;
    }

    .brokers-list__card::after {
        z-index: 1;
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        height: 56px;
        width: 56px;
        border-radius: 20px 0 20px 0;
        background: var(--color-primary);
        -webkit-transform-origin: right;
                transform-origin: right;
        transition: width 0.45s ease-in-out,
                    background 0.4s ease-in-out,
                    border-radius 0.2s ease-in-out;;
    }

    .brokers-list__card:hover::after {
        width: 100%;
        background: var(--color-secondary);
        border-radius: 0 0 20px 20px;
    }

    .brokers-list__card:hover .brokers-list__arrow > span {
        right: 0;
        opacity: 1;
    }

    .brokers-list__card:hover .brokers-list__arrow {
        border-radius: 0 0 20px 0;
    }
}

.brokers-list__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    overflow: scroll;
}

@media (min-width: 768px) {
    .brokers-list__modal {
        overflow: hidden;
    }
}

.brokers-list__modal__image {
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--color-white);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -80px 0 30px;
}

@media (min-width: 768px) {
    .brokers-list__modal__image {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
}


@media (min-width: 1200px) {
    .brokers-list__modal__image {
        width: 220px;
        height: 220px;
    }
}

@media (min-width: 768px) {
    .brokers-list__modal__image {
        margin: 0;
    }
}

.brokers-list__modal__image img {
    width: 100%;
    height: auto;
}

.brokers-list__modal__container {
    max-width: calc(872px + 44px);
    padding: 30px 22px;
    display: none;
    height: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .brokers-list__modal__container {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 0 22px;
        height: auto;
    }
}

.brokers-list__modal__wrapper {
    width: calc(100% - 44px);
    padding: 0 22px 20px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--color-white);
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 510px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .brokers-list__modal__wrapper {
        padding: 0 70px 50px;
        height: auto;
        max-height: 100%;
        width: 100%;
        position: relative;
        -webkit-transform: none;
                transform: none;
        top: 0;
    }
}

@media (min-width: 1200px) {
    .brokers-list__modal__wrapper {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
}

.brokers-list__modal__left,
.brokers-list__modal__right {
    width: 100%;
}

@media (max-width: 767px) {
    .brokers-list__modal__right {
        height: 100%;
        overflow: hidden;
        padding-right: 15px;
    }
}

.brokers-list__modal__right .scrollbar-track-y {
    opacity: 1;
    background-color: var(--color-offwhite);
    border-radius: 10px;
}

.brokers-list__modal__right .scrollbar-track-y .scrollbar-thumb {
    background-color: var(--color-secondary);
}

.brokers-list__modal__left .btn {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .brokers-list__modal__left .btn {
        margin-bottom: 0;
    }
}

.brokers-list__modal__upper {
    background-color: var(--color-primary);
    width: calc(100% + 44px);
    margin-left: -22px;
    margin-right: -22px;
    padding: 50px 33px 40px;
}

.brokers-list__modal__upper .brokers-list__modal__upper__inner {
    width: calc(100% - 95px);
    padding-left: 20px;
    margin: 0 0 0 auto;
}

@media (max-width: 767px) {
    .brokers-list__modal__upper {
        min-height: 115px;
        padding: 45px 33px 25px;
    }
}

@media (min-width: 768px) {
    .brokers-list__modal__left {
        width: 150px;
        margin-top: -120px;
    }

    .brokers-list__modal__upper {
        background-color: var(--color-primary);
        width: calc(100% + 140px);
        padding: 70px 0 50px;
        margin-left: -70px;
        margin-right: -70px;
    }
    
    .brokers-list__modal__right {
        padding-top: 30px;
    }

    .brokers-list__modal__upper .brokers-list__modal__upper__inner {
        width: calc(100% - 200px);
        padding-left: 50px;
        margin-left: auto;
    }
}

@media (min-width: 1200px) {
    .brokers-list__modal__left {
        width: 220px;
        margin-top: 0;
        top: -130px;
        position: relative;
    }

    .brokers-list__modal__right {
        width: calc(100% - 220px);
        padding-left: 50px;
        padding-top: 40px;
    }

    .brokers-list__modal__upper .brokers-list__modal__upper__inner {
        width: calc(100% - 290px);
        padding-left: 50px;
        margin-left: auto;
    }
}

.brokers-list__modal__close {
    position: absolute;
    right: 10px;
    top: 5px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .brokers-list__modal__close {
        right: 20px;
        top: 15px;
    }
}

.brokers-list__modal__close span {
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.brokers-list__modal__close span:before,
.brokers-list__modal__close span:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: var(--color-white);
}

.brokers-list__modal__close span:before {
    width: 2px;
    height: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(90deg);
            transform: translateY(-50%) rotate(90deg);
}

.brokers-list__modal__close span:after {
    width: 2px;
    height: 100%;
}

.brokers-list__modal__info {
    margin-top: 30px;
    margin-bottom: 0;
}

.brokers-list__modal__info div {
    display: flex;
}

.brokers-list__modal__info div:nth-child(odd) {
    background-color: var(--color-offwhite);
}

.brokers-list__modal__info div dt,
.brokers-list__modal__info div dd {
    padding: 13px 20px;
}

.brokers-list__modal__info div dt {
    width: 40%;
    margin-bottom: 0;
    line-height: 1;
    font-size: 12px;
    color: #8D99AE;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.brokers-list__modal__info div dd {
    width: 60%;
    margin-bottom: 0;
    line-height: 1;
    font-size: 14px;
}

.brokers-list__modal__location {
    font-size: 14px;
    color: #EFF2F4;
    opacity: 0.8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brokers-list__modal__location i {
    font-size: 10px;
}

.brokers-list__modal__title {
    color: var(--color-white);
    padding: 0;
}

.brokers-list__pagination {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brokers-list__pagination__button {
    margin-top: 20px;
}

.brokers-list__pagination__button .btn.is-disabled {
    cursor: none;
    pointer-events: none;
    background-color: var(--color-tertiary);
    display: none;
}

.brokers-list__pagination__button .btn:before {
    content: "\e904";
}

.brokers-list__pagination__wrapper {
    width: 300px;
    height: 8px;
    border-radius: 8px;
    background-color: var(--color-offwhite);
    margin-top: 10px;
    position: relative;
}

.brokers-list__pagination__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 8px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease-in-out;
}
var FX = ( function( FX, $ ) {

	$( () => {
		FX.BrokersListScript.init()
        FX.BrokersListScript.brokersListFilter()
	})

	FX.BrokersListScript = {
		init() {
            const $modalClose = $('.brokers-list__modal__close');
            const $modalContainer = $('.brokers-list__modal');
            const $modalButton = $('.js-broker-list-button');

            $modalButton.on('click', function() {
                const $this = $(this);
                const $modalTarget = $this.attr('data-modal-target');
                const $modalTargetElement = $($modalTarget);

                $modalContainer.fadeIn(function() {
                    $modalTargetElement.stop().slideDown();
                });
            })

            $modalClose.on('click', function() {
                const $this = $(this);
                const $thisModalWrapper = $this.parents('.brokers-list__modal__container');

                $thisModalWrapper.stop().slideUp(function() {
                    $modalContainer.fadeOut();
                });
            })

            $(document).mouseup(function(e) {
                const container = $(".brokers-list__modal__container");

                if (!container.is(e.target) && container.has(e.target).length === 0)  {
                    $('.brokers-list__modal__container:visible').stop().slideUp(function() {
                        $modalContainer.fadeOut();
                    });
                }
            });
		},

        brokersListFilter() {
            let qsRegex;
            let buttonFilter;

            const $container = $('.brokers-list__list').isotope({
                itemSelector: '.brokers-list__item',
                percentPosition: true,
                layoutMode: 'fitRows',
                filter: function() {
                    const $this = $(this);
                    const searchResult = qsRegex ? $this.find('h3').text().match( qsRegex ) : true;
                    const buttonResult = buttonFilter ? $this.is( buttonFilter ) : true;
                    return searchResult && buttonResult;
                }
            });

            let initShow = 12; //number of items loaded on init & onclick load more button
            let counter = 3; //counter for load more button
            const iso = $container.data('isotope'); // get Isotope instance

            loadMore(initShow);

            function loadMore(toShow) {
                $container.find(".hidden-item").removeClass("hidden-item").show();

                var hiddenElems = iso.filteredItems.slice(toShow, iso.filteredItems.length).map(function(item) {
                    return item.element;
                });
                $(hiddenElems).addClass('hidden-item').hide();
                $container.isotope('layout');

                //when no more to load, hide show more button
                if (hiddenElems.length == 0) {
                    $("#load-more").hide();
                } else {
                    $("#load-more").show();
                };

                setTimeout(function() {
                    var $total = iso.filteredItems.length;
                    var $totalcount = $('.brokers-list__item:visible').length;

                    var $totality = $totalcount / $total;
                    var $progwidth = $total == 0 ? 100 : $totality * 100;

                    $('.brokers-list__pagination__bar').width($progwidth + "%");

                    $('.showing-result').text($totalcount);
                    $('.total-result').text($total);
                }, 500)

            }

            // use value of search field to filter
            var $quicksearch = $('#search-by-name').keyup( debounce( function() {
                qsRegex = new RegExp( $quicksearch.val(), 'gi' );
                $container.isotope();
                loadMore(initShow);
            }, 200 ) );

            // debounce so filtering doesn't happen every millisecond
            function debounce( fn, threshold ) {
                var timeout;
                threshold = threshold || 100;
                return function debounced() {
                    clearTimeout( timeout );
                    var args = arguments;
                    var _this = this;
                    function delayed() {
                        fn.apply( _this, args );
                    }
                    timeout = setTimeout( delayed, threshold );
                };
            }

            $("#load-more").on("click", function(e){
                e.preventDefault();

                counter = counter + initShow;
                loadMore(counter);
            });

            $('#filter-by-state').on('change', function() {
                const $this = $(this);

                qsRegex = new RegExp( $('#search-by-name').val(), 'gi' );
                buttonFilter = $this.val();
                $container.isotope();

                loadMore(initShow);

            })

            $('.brokers-list__upper__form').submit(function(e) {
                e.preventDefault();

                qsRegex = new RegExp( $('#search-by-name').val(), 'gi' );
                buttonFilter = $('#filter-by-state').val();
                $container.isotope();

                loadMore(initShow);

                return false;
            });

            const options = {
                damping: 0.04,
                thumbMinSize: 20,
                renderByPixel: true,
                continuousScrolling: false
            };


            $('.brokers-list__modal__right').each(function() {
                const $this = $(this);

                Scrollbar.init($this[0], options);
            })
        }
	}

	return FX

} ( FX || {}, jQuery ) )
Results

Card Hover with Content on Reveal

Implementation: 4 hours
Above estimate for first implementation.
Additional implementations ~25% of above estimate.
<section class="icon-buttons">
    <div class="container">
        <div class="row">
        
            <div class="col-xxs-6 col-sm-4 col-lg-2 icon-buttons__item">
                <a href="https://diamondhousedetox.com/outpatient-treatment/" class="icon-button anim-object flip-vertical-right">
                    <div class="icon-button__front anim-object__face">
                        <div class="icon-button__bg">
                            <img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive entered lazyloaded" alt="" data-lazy-src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" data-ll-status="loaded"><img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive" alt="" />                        </div>
                        <div class="icon-button__column">
                            <h4>Outpatient Services</h4>
                        </div>
                    </div>
                    <div class="icon-button__back anim-object__face anim-object__face--back">
                        <div class="icon-button__column">
                            <h4>Outpatient Services</h4>
                        </div>
                    </div>
                </a>
            </div>

        
            <div class="col-xxs-6 col-sm-4 col-lg-2 icon-buttons__item">
                <a href="https://diamondhousedetox.com/addiction-treatment/alcohol-detox-and-rehab-program-in-sacramento-ca/" class="icon-button anim-object flip-vertical-right">
                    <div class="icon-button__front anim-object__face">
                        <div class="icon-button__bg">
                            <img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive entered lazyloaded" alt="" data-lazy-src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" data-ll-status="loaded"><img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive" alt="" />                        </div>
                        <div class="icon-button__column">
                            <h4>Alcohol Detoxification</h4>
                        </div>
                    </div>
                    <div class="icon-button__back anim-object__face anim-object__face--back">
                        <div class="icon-button__column">
                            <h4>Alcohol Detoxification</h4>
                        </div>
                    </div>
                </a>
            </div>

        
            <div class="col-xxs-6 col-sm-4 col-lg-2 icon-buttons__item">
                <a href="https://diamondhousedetox.com/addiction-treatment/suboxone-detoxification/" class="icon-button anim-object flip-vertical-right">
                    <div class="icon-button__front anim-object__face">
                        <div class="icon-button__bg">
                            <img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive entered lazyloaded" alt="" data-lazy-src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" data-ll-status="loaded"><img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive" alt="" />                        </div>
                        <div class="icon-button__column">
                            <h4>Suboxone Detoxification</h4>
                        </div>
                    </div>
                    <div class="icon-button__back anim-object__face anim-object__face--back">
                        <div class="icon-button__column">
                            <h4>Suboxone Detoxification</h4>
                        </div>
                    </div>
                </a>
            </div>

        
            <div class="col-xxs-6 col-sm-4 col-lg-2 icon-buttons__item">
                <a href="https://diamondhousedetox.com/addiction-treatment/opiate-detox-in-northern-california/" class="icon-button anim-object flip-vertical-right">
                    <div class="icon-button__front anim-object__face">
                        <div class="icon-button__bg">
                            <img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive entered lazyloaded" alt="" data-lazy-src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" data-ll-status="loaded"><img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive" alt="" />                        </div>
                        <div class="icon-button__column">
                            <h4>Opiate Detoxification</h4>
                        </div>
                    </div>
                    <div class="icon-button__back anim-object__face anim-object__face--back">
                        <div class="icon-button__column">
                            <h4>Opiate Detoxification</h4>
                        </div>
                    </div>
                </a>
            </div>

        
            <div class="col-xxs-6 col-sm-4 col-lg-2 icon-buttons__item">
                <a href="https://diamondhousedetox.com/addiction-treatment/benzodiazepine-detoxification/" class="icon-button anim-object flip-vertical-right">
                    <div class="icon-button__front anim-object__face">
                        <div class="icon-button__bg">
                            <img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive entered lazyloaded" alt="" data-lazy-src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" data-ll-status="loaded"><img width="157" height="126" src="https://diamondhousedetox.com/wp-content/uploads/2021/12/icon-card-icon.png" class="img-reponsive" alt="" />                        </div>
                        <div class="icon-button__column">
                            <h4>Benzos Detoxification</h4>
                        </div>
                    </div>
                    <div class="icon-button__back anim-object__face anim-object__face--back">
                        <div class="icon-button__column">
                            <h4>Benzos Detoxification</h4>
                        </div>
                    </div>
                </a>
            </div>

        </div>
    </div>
</section>
.icon-buttons {
    position: relative;
    z-index: 9;
    margin-top: 30px;
}

.icon-button {
    width: 100%;
    height: 145px;
    padding: 10px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: rotateY(0);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.icon-button__front {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(2, 54, 69, .13);
}

.icon-button__column h4 {
    margin: 0;
    padding: 0 0 0;
    color: #023645;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.44em;
    font-family: 'Montserrat', sans-serif;
}

.icon-button__bg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 124px;
    margin: -50px 0 0 -62px;
}

.icon-button__back {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform: rotateY(0);
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

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

.icon-button__back:before {
    content: "";
    display: block;
    background: #d69a36;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.icon-button__back h4 {
    color: #fff;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .icon-buttons {
        margin-top: -365px;
        top: -80px;
        padding: 0 40px;
    }

    .icon-button {
        height: 183px;
    }

    .icon-button__back,
    .icon-button__front {
        transform-style: preserve-3d;
        backface-visibility: hidden;
    }

    .icon-button__front {
        transform: rotateY(0);
        transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    }

    .icon-button__back {
        transform: rotateY(-180deg)
    }

    .icon-button.flip-vertical-right {
        animation: none;
    }

    .icon-button.flip-vertical-right:hover {
        animation: none;
    }

    .icon-button:hover .icon-button__back {
        transform: rotateY(0deg);
        z-index: 1;
    }

    .icon-button:hover .icon-button__front {
        transform: rotateY(180deg);
    }

    .icon-button__bg {
        transform: translateZ(60px) scale(0.94);
    }

    .icon-button__column {
        position: relative;
        transform: translateZ(60px) scale(0.94);
    }

    .icon-button__column h4 {
        font-size: 20px;
    }

    .icon-button__bg {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 156px;
        margin: -68px 0 0 -78px;
    }

}

.icon-buttons .row {
    margin: 0 -16px;
}

.icon-buttons__item {
    padding: 0 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .icon-buttons {
        margin-top: -439px;
        margin-bottom: 70px;
        top: 0;
        padding: 0 0;
    }

    .icon-button {
        height: 183px;
    }

    .icon-button__column h4 {
        font-size: 20px;
    }

    .icon-button__bg {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 156px;
        margin: -68px 0 0 -78px;
    }

    .icon-buttons__item {
        padding: 0 16px;
        width: 50%;
    }

}

@media (min-width: 1200px) {
    .icon-buttons {
        margin-top: -78px;
        margin-bottom: 0;
    }
    
    .icon-buttons > .container > .row {
        display: flex;
        justify-content: center;
    }

    .icon-button__front,
    .icon-button__back {
        height: 100%;   
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .icon-buttons .row {
        margin: 0 -10px;
    }

    .icon-buttons__item {
        padding: 0 10px;
        width: 20%;
    }
}

.icon-buttons--inner {
    margin-top: 0px;
}
Results