html, body {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #454545;
}

/* -- canvas behind -- */
#bgCanvas {
    canvas {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }
    &:after {
        background: radial-gradient(ellipse at center, #ffffff 0%,#f7cbc1 100%);
        position: absolute;
        width: 100%;
        height: 100%;
        content: '';
        left: 0;
        top: 0;
        opacity: .25;
    }
}
/* -- UI above -- */
.hero-content, nav {
    position: relative;
    z-index: 10;
}
/* -- glass cards -- */
.card {
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}
.card:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* -- Form -- */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-26px) scale(0.9);
    color: #f97316;
}   

.input-group label {
    transition: all 0.3s ease;
}

.ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.5);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.line-heading {
    padding-left: 30px;
    &:before {
        content: '';
        left: 0;
        position: absolute;
        top: calc(50% - 1px);
        height: 2px; 
        background: #f97316;
        width: 25px;
    }
}

/* -- Wrap Staffing -- */
.shapes-curved {
    height: 165px;
    overflow: hidden;
    position: absolute;
    top: -140px;
    z-index: 11;
    left: 0;
    width: 100%;
    .shape-2 {
        transform: skewY(-.5deg);
        width: 105vw;
        margin-left: -1.5%;
        position: absolute;
        top: 16px;
    }
}

/* -- Parallax Background -- */
.wrap-testimonials.parallax-bg {
    background-image: url('assets/bg-testimonials2.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    .slick-dots {
        bottom: -60px;
    }   
    
    .slick-dots li {
        margin: 0;
    }

    .slick-dots li button:before {
        color: #fff;
        opacity: .75;
        font-size: 10px;
    }

    .slick-dots li.slick-active button:before {
        color: orangered;
        opacity: 1;
    }
    
    .slick-prev:before,
    .slick-next:before {
        color: white;
        font-size: 24px;
    }
}

/* -- Products -- */
 @keyframes zoomIn {
    0%   { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes zoomOut {
    0%   { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.wrap-products {
    border-top: 8px solid #ff007a;
    .absolute:hover p {
        color: #222;
        font-weight: bold;
    }
    .zoom-in {
        animation: zoomIn 8s ease-in-out infinite alternate;
    }

    .zoom-out {
        animation: zoomOut 8s ease-in-out infinite alternate;
    }

    .group:hover img {
        animation-play-state: paused;
    }
}

/* -- Marque -- */
.marquee-wrapper {
    overflow: hidden;
    margin-top: -117px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);

    .marquee-wrapper {
      overflow: hidden;
      width: 100%;
      padding: 40px 0;
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .marquee {
      display: flex;
      width: max-content;
      animation: scrollRTL 18s linear infinite;
    }

    .marquee-group {
      display: flex;
    }
    .marquee span {
      font-weight: 700;
      font-size: 135px;
      white-space: nowrap;
      margin-right: 40px;
    }
    .fill {
      color: #1F242E;
    }
    .stroke {
      color: transparent;
      -webkit-text-stroke: 2px #2D2C2B;
    }
}

@keyframes scrollRTL {
    0% {transform: translateX(0%);}
    100% {transform: translateX(-50%);}
}

/* -- Dark Theme -- */
.dark-theme {
    .main-head {
        background-color: #00000025;
        border-bottom: 1px solid #ffffff50;
        &.backdrop-blur-sm {
            background-color: #00000075;
        }
    }
    .nav-main {
        a {
            color: #ffffff;
            font-weight: normal;
            &:hover {
                color: #f68e43;
            }
        }
    }
    #bgCanvas:after {display: none;}
    .hero {
        background: #1f2937;
        min-height: 750px;
        height: 100vh;
        #heroTitle {color: white;}
        .btn-outline {color: white;}
    }
}

/* -- Product Slider -- */
.slider-products {
    .slick-dots li button:before {
        font-size: 10px;
    }
    .slick-dots li.slick-active button:before {
        color: #f97316;
    }
}

/* -- Marque -- */
.marque-outer {
    overflow-x: clip;
}

/* -- Footer Styling -- */
.footer-main {
    color: #ddd !important;
    font-weight: 400;
    h3 {
        color: #fff;
        font-weight: 500;
    }
}


/* ========== Media Breakpoints ========== */
@media (max-width: 1325px) {
    .wrap-staffing-intro .shapes-curved {
        height: 125px;
        top: -110px;
    }
    .hero h1 {
        font-size: 60px;
        .line-animated {height: 65px;}
    }
}
@media (max-width: 1023px) {
    .wrap-staffing-intro .shapes-curved {
        height: 100px;
        top: -80px;
        .shape-2 {top: 8px;}
    }
    .marquee-wrapper {
        margin-top: -50px;
        span {font-size: 60px !important;}
    }
    .wrap-staffing {
        svg {
            width: 60px;
            height: auto;
        }
    }
}

@media (max-width: 992px) {
     .hero h1 {
        font-size: 47px;
        .line-animated {height: 51px;}
    }
}

@media (max-width: 850px) {
    .wrap-staffing-intro .shapes-curved {
        height: 100px;
        top: -80px;
    }
}

@media (max-width: 767px) {
    .wrap-staffing-intro .shapes-curved {
        height: 65px;
        top: -60px;
    }
    .wrap-staffing svg {width: 50px;}
    .testimonial-slider {
        .slick-next {right: -14px;}
        .slick-prev {left: -18px;}
    }
    .wrap-testimonials.parallax-bg {
        .slick-dots {bottom: -30px !important;}
    }
    .cards-hero {
        .card {transform: none !important;}
    }
}

@media (max-width: 550px) {
    .hero h1 {
        font-size: 35px;
        .line-animated {height: 38px;}
    }
    .wrap-staffing-intro .shapes-curved {
        height: 50px;
        top: -40px;
        .shape-2 {top: 5px;}
    }
}