html { scroll-behavior: smooth; }

.shinyText {
	background: linear-gradient(135deg, #F9D252 0%, #F9D252 50%, #FFEB3B 60%, #FFFFFF 70%, #FFEB3B 80%, #F9D252 100%);
	background-size: 400% 400%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.shinyText.animate-shiny {
	animation: text-gradient 2.5s forwards linear;
}

@keyframes text-gradient {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.pme-letter {
	display: inline-block;
	opacity: 0;
	transform: scaleY(0);
	transform-origin: bottom;
}

.pme-letter.animate-pme {
	animation: squashIn 0.3s forwards ease-out;
}

.pme-letter:nth-child(1) {
	animation-delay: 0.8s;
}

.pme-letter:nth-child(2) {
	animation-delay: 1s;
}

.pme-letter:nth-child(3) {
	animation-delay: 1.2s;
}

@keyframes squashIn {
from {
	transform: scaleY(0);
	opacity: 0;
}
to {
	transform: scaleY(1);
	opacity: 1;
}
}

.cta-button {
	transition: background-color 0.3s ease-out;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #F9D252;
	opacity: 0.3;
	border-radius: 9999px;
	transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.8);
	z-index: 0;
}

.cta-button.translucid::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #F9D252;
	opacity: 0;
	border-radius: 9999px;
	transition: opacity 0.2s ease-out;
	z-index: 0;
}

.service-card:hover .cta-button.translucid::before {
    opacity: 0.3;
	transform: scale(1);
}

.cta-button:hover::before {
	transform: scale(1.075, 1.2);
}

.cta-button:hover {
	background-color: rgba(249, 210, 82, 0.9);
}

.service-card:hover .cta-button.translucid {
	background-color: transparent;
}

#services .service-card {
    cursor: pointer;
}

nav a {
    position: relative;
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #F9D252;
    transition: width 0.3s ease-out;
}

nav a:hover::after {
    width: 100%;
}

.grid.services > div > div:first-child {
    transition: transform 0.1s ease-in-out;
}

.grid.services > div:hover > div:first-child {
    transform: scale(1);
}

.scrolling-text span {
    color: #4A6229;
    transition: color 0.3s ease-in-out;
}

.scrolling-text span.scrolled {
    color: #C7D989;
}

.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate {
    opacity: 0;
    transform: translateX(20%) rotate(0deg);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-animate.scrolled {
    opacity: 1;
    transform: translateX(0) rotate(2deg);
}

.testimonial-swiper .swiper-slide {
	width: 100%;
	max-width: 400px;
	height: auto;
}

.testimonial-card {
    background-color: #1F211E;
    border: 1px solid #4B3E13;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

@media (max-width: 640px) {
    .testimonial-card {
        padding: 1.5rem;
        min-height: 450px;
    }
    .testimonial-text {
        font-size: 20px;
    }
}

.client-photo {
    width: 80px;
    height: 80px;
}

.testimonial-text {
    font-size: 24px;
    line-height: 1.5;
    color: #eee;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.client-name {
    font-size: 18px;
    font-weight: bold;
    color: #F9D252;
}

#loader {
    transition: opacity 0.5s ease-out;
}

#loader.loader-hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-lemon {
    animation: load 1.5s ease-in-out forwards;
}

@keyframes load {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1) rotate(360deg);
    }
    100% {
        transform: scale(10) rotate(360deg);
    }
}
