@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

* {
    font-family: 'Nunito Sans', sans-serif;
}

.gradient-green {
    background: linear-gradient(135deg, #01C350 0%, #059669 100%);
}

.gradient-dark-green {
    background: linear-gradient(180deg, #000000 0%, #033417 100%);
}

.gradient-dark-green-2 {
    background: linear-gradient(180deg, #000000 0%, #11813e 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #01C350 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
}

.search-input:focus {
    border-color: #10b981;
    outline: none;
}

.category-badge {
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-horizontal {
    animation: scroll-horizontal 20s linear infinite;
}

/* Pause on hover */
.animate-scroll-horizontal:hover {
    animation-play-state: paused;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.card-service {
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.card-service:hover {
    border-color: #01C350;
    background: rgba(16, 185, 129, 0.05);
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes scroll-horizontal-tech {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.animate-scroll-horizontal-tech {
    animation: scroll-horizontal-tech 40s linear infinite;
}

/* Pause on hover */
.animate-scroll-horizontal-tech:hover {
    animation-play-state: paused;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #01C350;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #01C350;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
}

.cta-button {
    background: linear-gradient(135deg, #01C350 0%, #059669 100%);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.text-muted {
    color: #6b7280;
}

.border-accent {
    border-left: 4px solid #01C350;
}

.bg-light-green {
    background: rgba(16, 185, 129, 0.05);
}

.category-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #e5e7eb;
}

.category-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.case-study-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.case-study-item.hidden {
    display: none;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.animate-scroll-testimonials {
    animation: scroll-testimonials 45s linear infinite;
}

.animate-scroll-testimonials:hover {
    animation-play-state: paused;
}


/* Case Study Style */

.hero-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}


/* Case Study Card */
.case-study-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.case-study-overlay {
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 10;
}

.case-study-card:hover .case-study-overlay {
    opacity: 1;
}

.case-study-image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image {
    transform: scale(1.05);
}

/* Title Gradient */
.title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #d1fae5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in-up:nth-child(3) {
    animation-delay: 0.4s;
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    z-index: 5;
}