.mpm-custom--8131 {
	bottom: -250px;
	left: -200px;
	max-width: 550px;
}

.mpm-custom--1451 {
	top: -25px;
	left: -30px;
	width: 256px;
	height: 208px;
}

@media only screen and (max-width: 575px) {
	.mpm-custom--1451 {
		top: -100px;
		left: -100px;
	}
}

.mpm-custom--1502 {
	bottom: -28vw;
	left: 50vw;
	width: 75vw;
	height: 25vw;
	background-size: 50%;
}

.mpm-custom--1512 {
	bottom: -28vw;
	left: 50vw;
	width: 75vw;
	height: 75vw;
	background-size: 50%;
}

.mpm-custom--1515 {
	bottom: -10vw;
	left: 50vw;
	width: 75vw;
	height: 75vw;
	background-size: 80%;
}

.mpm-custom--4124 {
	top: 0;
	right: 0;
	bottom: 0;
	width: 40vw;
	height: 100%;
	background-position: top left;
	background-size: cover;
}

@media only screen and (max-width: 991px) {
	.mpm-custom--4124 {
		right: 0;
		width: 50vw;
	}
}

@media only screen and (max-width: 767px) {
	.mpm-custom--4124 {
		right: -50vw;
		width: 100vw;
	}
}

.mpm-custom--1259 {
	top: -20px;
	right: -5px;
	width: 256px;
	height: 208px;
}

.mpm-custom--2355 {
	bottom: -250px;
	left: 0;
	width: 389px;
	height: 550px;
}


.mpm-counter-up-small:hover {
    background-color: #6CAB44; /* Change background color on hover */
    transition: background-color 0.3s ease; /* Smooth transition for the color change */
	animation: shake 0.5s ease; /* Apply the shake animation on hover */
}

.spaceman {
  transition: transform 1.2s cubic-bezier(.25,.8,.25,1);
}

.spaceman.grow-left {
  transform: scale(1.05) translateX(5px) translateY(-5px);
  transition: transform 1.1s cubic-bezier(.25,.8,.25,1);
}
	
.spaceman.grow-right {
  transform: scale(1.05) translateX(15px) translateY(5px);
  transition: transform 1.2s cubic-bezier(.25,.8,.25,1);
}

/* Define the shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.mpm-logo-carousel {
    margin-top: 20px;
    text-align: center;
}

.mpm-logo-carousel .swiper-container {
    width: 100%;
    padding: 20px 0;
}

.mpm-logo-carousel .swiper-slide {
    display: flex;
    justify-content: left;
    align-items: left;
}

.mpm-logo-carousel .swiper-slide img {
    max-width: 120px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mpm-logo-carousel .swiper-slide img.test  {
    max-width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mpm-logo-carousel .swiper-slide img:hover {
    opacity: 1;
}

.mpm-section[data-anchor="Video-Details"] .col-lg-5,
.mpm-section[data-anchor="Motion-Graphics-Details"] .col-lg-5 {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mpm-section[data-anchor="Video-Details"] .col-lg-5 > .row,
.mpm-section[data-anchor="Motion-Graphics-Details"] .col-lg-5 > .row,
.mpm-section[data-anchor="Motion-Graphics-Details"] .col-lg-5 > div > .row {
    align-items: flex-start;
    margin-bottom: 0;
}

.mpm-section[data-anchor="Video-Details"] .col-lg-5 > .mpm-gap-40,
.mpm-section[data-anchor="Motion-Graphics-Details"] .col-lg-5 > .mpm-gap-40 {
    display: none;
}

.mpm-section[data-anchor="Video-Details"] .mpm-services__title,
.mpm-section[data-anchor="Motion-Graphics-Details"] .mpm-services__title {
    margin-bottom: 10px;
}

.mpm-section[data-anchor="Video-Details"] .mpm-services__text,
.mpm-section[data-anchor="Motion-Graphics-Details"] .mpm-services__text {
    line-height: 1.65;
}

.mpm-footer-copyright--mobile {
    display: none;
}

@media only screen and (max-width: 991px) {
    .mpm-navbar {
        overflow: hidden;
    }

    .mpm-navbar .mpm-navbar-background {
        background-color: transparent;
    }

    .mpm-navbar.mpm-navbar--solid {
        color: #fff;
    }

    .mpm-navbar.mpm-navbar--solid .mpm-navbar-background {
        height: 100%;
        background-color: #000;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }

    .mpm-navbar.mpm-navbar--solid .mpm-navbar-inner {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .mpm-navbar.mpm-navbar--solid .mpm-navbar-logo img.black {
        display: none;
    }

    .mpm-navbar.mpm-navbar--solid .mpm-navbar-logo img.white {
        display: block;
    }

    .mpm-footer.mpm-footer--fixed {
        display: none;
    }

    .mpm-footer-copyright--mobile {
        display: block;
        margin-top: 24px;
        padding-bottom: 24px;
        text-align: center;
        color: #fff;
    }

    .mpm-section[data-anchor="Contact"] .col-lg-4,
    .mpm-section[data-anchor="Contact"] .col-lg-6 {
        min-width: 0;
    }

    .mpm-section[data-anchor="Contact"] a,
    .mpm-section[data-anchor="Contact"] span,
    .mpm-section[data-anchor="Contact"] h5 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .mpm-section[data-anchor="Contact"] .mpm-footer-copyright {
        color: #fff;
    }
}

@media only screen and (max-width: 991px) {
    .mpm-logo-carousel {
        margin-top: 30px;
        text-align: center;
    }

    .mpm-logo-carousel .swiper-container {
        padding: 10px 0;
    }

    .mpm-logo-carousel .swiper-wrapper {
        align-items: center;
    }

    .mpm-logo-carousel .swiper-slide {
        width: 100% !important;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .mpm-logo-carousel .swiper-slide img {
        display: block;
        max-width: 160px;
        margin: 0 auto;
    }

    .mpm-section[data-anchor="Video-Details"] img.img-fluid {
        display: block;
        width: 50%;
        max-width: 50%;
        margin: 0 auto;
        padding-bottom: 12px;
    }

    .mpm-section[data-anchor="Motion-Graphics-Details"] img.img-fluid {
        display: block;
        width: 50%;
        max-width: 50%;
        margin: 0 auto;
        padding-bottom: 12px;
    }

    .mpm-section[data-anchor="Video-Details"] .row,
    .mpm-section[data-anchor="Motion-Graphics-Details"] .row {
        text-align: center;
    }

    .mpm-section[data-anchor="Video-Details"] .mpm-services,
    .mpm-section[data-anchor="Motion-Graphics-Details"] .mpm-services {
        text-align: center;
    }

    .mpm-section[data-anchor="Video-Details"] .col-lg-5 > .row,
    .mpm-section[data-anchor="Motion-Graphics-Details"] .col-lg-5 > .row,
    .mpm-section[data-anchor="Motion-Graphics-Details"] .col-lg-5 > div > .row {
        row-gap: 8px;
    }

    .mpm-section[data-anchor="Video-Details"] .mpm-services,
    .mpm-section[data-anchor="Motion-Graphics-Details"] .mpm-services {
        max-width: 28rem;
        margin: 0 auto;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire div */
    z-index: -1; /* Places the video behind other content */
}

/* ====== SEO: H2 Section Headings (maintain H1 visual size) ====== */
h2.mpm-section-heading {
    font-size: inherit;
    margin: inherit;
    padding: inherit;
    line-height: inherit;
    font-weight: inherit;
}

/* ====== INLINE STYLES MOVED TO CSS ====== */

/* White text color utility */
.mpm-white-text,
h2.ppm-section-heading,
h4.mpm-white,
h5.mpm-white,
p.mpm-white,
span.mpm-white {
    color: #fff;
}

/* Team section background */
.mpm-section--team {
    background: #101010;
}

/* Vimeo logo image sizing */
.mpm-fixed-quote img {
    width: 20%;
    align-content: center;
    margin-left: 10px;
}

/* Background video styling */
.mpm-section__ken-burn-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonial item gradient background */
.mpm-testimonial-item {
    background: #6CAB44;
    background: linear-gradient(111deg, rgba(108, 171, 68, 1) 0%, rgba(117, 182, 114, 1) 86%);
}

/* Padding utility for service titles */
h5.mpm-service-title {
    padding-right: 15px;
}

/* Font weight utility */
.mpm-font-light {
    font-weight: 200;
}

/* Animation delay utilities */
.mpm-delay-0 { animation-delay: 0s; }
.mpm-delay-100 { animation-delay: 100ms; }
.mpm-delay-200 { animation-delay: 200ms; }
.mpm-delay-300 { animation-delay: 300ms; }
.mpm-delay-400 { animation-delay: 400ms; }
.mpm-delay-800 { animation-delay: 800ms; }
.mpm-delay-1200 { animation-delay: 1200ms; }
.mpm-delay-2s { animation-delay: 2s; }
.mpm-delay-4s { animation-delay: 4s; }
.mpm-delay-5s { animation-delay: 5s; }
.mpm-delay-6s { animation-delay: 6s; }
.mpm-delay-7s { animation-delay: 7s; }

/* Animation duration utilities */
.mpm-duration-500 { animation-duration: 500ms; }
.mpm-duration-700 { animation-duration: 700ms; }
.mpm-duration-2s { animation-duration: 2s; }
.mpm-duration-3s { animation-duration: 3s; }
.mpm-duration-4s { animation-duration: 4s; }
.mpm-duration-5s { animation-duration: 5s; }
.mpm-duration-7s { animation-duration: 7s; }

/* Video fullscreen styling */
.mpm-video-fullscreen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
