/* section.pattern-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images//home/pattern.png');
    opacity: 0.5;

}
.video-overlay:before {
    background-color: rgba(0, 0, 0, .65);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
} */

@layer utilities {
    /* Seamless marquee (animate the combined strip from 0% to -50%) */
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

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

    .animate-marquee {
        animation: marquee var(--speed, 20s) linear infinite;
        will-change: transform;
        width: max-content;
    }

    /* Heartbeat pulse for icons */
    @keyframes heartbeat {
        0%,
        24%,
        100% {
            transform: scale(1);
        }

        12%,
        36% {
            transform: scale(1.2);
        }
    }

    .animate-heartbeat {
        animation: heartbeat 1.6s ease-in-out infinite;
        transform-origin: center;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

.role-marquee-content {
    display: flex;
    gap: 2.5rem;
    /* same gap */
    animation: marquee 35s linear infinite;
    width: max-content;
}

/* Apply icon only for cards except the last one */
.process-item:not(:last-child)::after {
    content: "\f061";
    /* Replace with your icon font unicode */
    font-family: "Font Awesome 6 Free";
    /* Replace with your icon font family */
    font-weight: 900;
    /* solid style */
    position: absolute;
    top: 50%;
    right: -34px;
    transform: translateY(-50%);
    width: 62px;
    height: 62px;
    border-radius: 9999px;
    background-color: white;
    border: 7px solid #e6ebeb;
    color: #bf2121;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-testmonial .swiper-slide {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(20px);
    opacity: 0.6;
}

.client-testmonial .swiper-slide.active {
    transform: translateY(-50px);
    opacity: 1;
    z-index: 10;
}

.role-slider .swiper-pagination-bullet-active {
    background-color: #bf2121 !important;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 25s linear infinite;
}

.clip-bottom-round {
    clip-path: ellipse(38% 117% at 50% 117%);
    overflow: hidden;
}

.work-overlay-2::before {
    position: absolute;
    width: 100%;
    height: 420px;
    top: 0;
    left: 0;
    content: "";
    background: #25255b;
    opacity: 0.8;
}

/* Animated Border */
.animated-border {
    position: relative;
    border-radius: 24px; /* round corners */
    padding: 2px; /* spacing for inner box */
    overflow: hidden; /* ensures rounded corners apply */
}

.animated-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: repeating-linear-gradient(
        60deg,
        #bf2121 0 10px,
        transparent 10px 30px
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: move-dash 12s linear infinite;
}

@keyframes move-dash {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 0;
    }
}

@media (max-width: 768px) {
    .clip-bottom-round {
        clip-path: ellipse(55% 117% at 50% 117%);
        overflow: hidden;
    }
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floaty {
    animation: floaty 6s ease-in-out infinite;
}

.browse-jobs-card {
    padding: 30px 30px 30px 105px;
}

.browse-jobs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 5px;
    background-color: #bf212133;
    opacity: 0;
    transition: 0.3s;

}

.browse-jobs-card:hover::before {
    width: 100%;
    opacity: 1;
}

.browse-jobs-card:hover .icon {
    background-color: white;
}
.browse-jobs-card:hover .icon i{
    color: black;
}
.browse-jobs-card:hover h3 a,
.browse-jobs-card:hover p,
.browse-jobs-card:hover .more-btn {

    z-index: 999;
    position: relative;
}
