/* =========================
   SCROLL PATROL HERO
========================= */

#sp-home {
    --green: #159447;
    --bright-green: #55e63f;
    --dark: #03100b;
    --gold: #d8b45c;
    --white: #f8f8f4;

    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    background: var(--dark);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

#sp-home * {
    box-sizing: border-box;
}

/* =========================
   LEFT WHITE PANEL
========================= */

.sp-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 49%;
    height: 100%;
    background: #f7f7f3;
    z-index: 10;
    padding: 45px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;

    clip-path: ellipse(78% 100% at 18% 50%);
}

/* curved green/gold border */

.sp-left:after {
    content: "";
    position: absolute;
    right: -5px;
    top: -5%;
    width: 20px;
    height: 110%;
    border-right: 5px solid var(--green);
    border-radius: 50%;
    transform: rotate(-1deg);
}

.sp-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.sp-logo-main {
    font-size: 52px;
    font-weight: 900;
    line-height: .8;
    letter-spacing: -5px;
    color: #080808;
}

.sp-logo-main span {
    color: var(--green);
}

.sp-logo-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-top: 8px;
}

.sp-logo-sub {
    font-size: 12px;
    letter-spacing: 3px;
    color: #444;
    margin-top: 4px;
}

/* =========================
   MAIN TITLE
========================= */

.sp-title {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: clamp(48px, 5vw, 82px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -3px;
    color: #050505;
    text-transform: uppercase;
}

.sp-title span {
    display: block;
    color: #147b40;
}

.sp-line {
    width: 180px;
    height: 3px;
    background: #176d3c;
    margin: 28px 0;
    position: relative;
}

.sp-line:after {
    content: "";
    position: absolute;
    right: -7px;
    top: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #176d3c;
}

.sp-services {
    position: relative;
    z-index: 2;
    font-size: 15px;
    color: #222;
    line-height: 1.8;
}

.sp-services span {
    margin: 0 7px;
    color: #167d42;
    font-weight: bold;
}

/* =========================
   FEATURES
========================= */

.sp-features {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 22px;
    margin-top: 38px;
}

.sp-feature {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: #222;
    white-space: nowrap;
}

.sp-feature:not(:last-child):after {
    content: "";
    height: 32px;
    width: 1px;
    background: #999;
    margin-left: 13px;
}

.sp-icon {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #137b42;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

/* =========================
   RIGHT AREA
========================= */

.sp-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 48%, rgba(16,112,57,.25), transparent 25%),
        radial-gradient(circle at 70% 30%, rgba(28,183,76,.15), transparent 20%),
        #020807;
    overflow: hidden;
}

/* =========================
   BACKGROUND DOTS
========================= */

.sp-dots {
    position: absolute;
    inset: 0;
    opacity: .35;
}

.sp-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #19b766;
    border-radius: 50%;
    animation: dotMove linear infinite;
}

@keyframes dotMove {
    0% {
        transform: translate(0,0);
        opacity: .15;
    }

    50% {
        opacity: .8;
    }

    100% {
        transform: translate(30px,-25px);
        opacity: .15;
    }
}

/* =========================
   CANVAS
========================= */

#spCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* =========================
   GLOW
========================= */

.sp-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    left: 35%;
    top: 23%;
    background: radial-gradient(
        circle,
        rgba(54,210,91,.22),
        rgba(0,0,0,0) 68%
    );
    filter: blur(15px);
    pointer-events: none;
}

/* =========================
   FLOATING ELEMENTS
========================= */

.sp-orbit-item {
    position: absolute;
    z-index: 5;
    color: white;
    text-align: center;
    animation: floating 4s ease-in-out infinite;
}

.sp-orbit-icon {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(213,181,82,.8);
    border-radius: 50%;
    background: rgba(1,15,10,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: auto;
    box-shadow: 0 0 25px rgba(34,186,80,.15);
}

.sp-orbit-label {
    font-size: 12px;
    margin-top: 9px;
    letter-spacing: .5px;
}

.sp-ad {
    left: 16%;
    top: 25%;
}

.sp-search {
    left: 53%;
    top: 8%;
    animation-delay: -.8s;
}

.sp-social {
    right: 20%;
    top: 29%;
    animation-delay: -1.6s;
}

.sp-website {
    left: 14%;
    top: 57%;
    animation-delay: -2.1s;
}

.sp-content {
    right: 22%;
    top: 58%;
    animation-delay: -2.8s;
}

.sp-audience {
    left: 42%;
    bottom: 12%;
    animation-delay: -3.4s;
}

@keyframes floating {
    0%,100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-13px);
    }
}

/* =========================
   ANALYTICS CARD
========================= */

.sp-dashboard {
    position: absolute;
    z-index: 7;
    right: 1%;
    bottom: 19%;
    width: 170px;
    height: 270px;
    padding: 15px;
    border-radius: 13px;
    background: rgba(5,15,12,.82);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 15px 50px rgba(0,0,0,.55);
    transform: perspective(600px) rotateY(-7deg);
    animation: dashboardFloat 5s ease-in-out infinite;
}

@keyframes dashboardFloat {
    0%,100% {
        transform: perspective(600px) rotateY(-7deg) translateY(0);
    }

    50% {
        transform: perspective(600px) rotateY(-7deg) translateY(-8px);
    }
}

.sp-dash-title {
    font-size: 9px;
    color: #ccc;
}

.sp-dash-number {
    font-size: 22px;
    color: white;
    margin: 5px 0;
}

.sp-dash-growth {
    color: #41dc63;
    font-size: 9px;
}

.sp-bars {
    height: 75px;
    display: flex;
    align-items: end;
    gap: 4px;
    margin-top: 13px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.sp-bar {
    flex: 1;
    background: linear-gradient(to top,#087737,#42df62);
    animation: bars 2s ease-in-out infinite alternate;
}

.sp-bar:nth-child(1){height:25%}
.sp-bar:nth-child(2){height:40%;animation-delay:.2s}
.sp-bar:nth-child(3){height:32%;animation-delay:.4s}
.sp-bar:nth-child(4){height:58%;animation-delay:.6s}
.sp-bar:nth-child(5){height:48%;animation-delay:.8s}
.sp-bar:nth-child(6){height:78%;animation-delay:1s}
.sp-bar:nth-child(7){height:90%;animation-delay:1.2s}

@keyframes bars {
    from { transform: scaleY(.65); }
    to { transform: scaleY(1); }
}

/* =========================
   BOTTOM MESSAGE
========================= */

.sp-bottom-text {
    position: absolute;
    right: 9%;
    bottom: 8%;
    z-index: 6;
    color: white;
    text-align: right;
    font-size: 19px;
    font-weight: 700;
}

.sp-bottom-text span {
    color: #36d15d;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px) {

    #sp-home {
        min-height: 850px;
    }

    .sp-left {
        position: relative;
        width: 100%;
        height: 440px;
        padding: 35px 30px;
        clip-path: none;
    }

    .sp-left:after {
        display: none;
    }

    .sp-right {
        position: relative;
        width: 100%;
        height: 520px;
    }

    .sp-logo {
        margin-bottom: 25px;
    }

    .sp-title {
        font-size: 47px;
    }

    .sp-features {
        margin-top: 25px;
        gap: 10px;
    }

    .sp-feature {
        font-size: 10px;
    }

    .sp-orbit-icon {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }

    .sp-dashboard {
        transform: scale(.75);
        transform-origin: right bottom;
    }

    .sp-bottom-text {
        font-size: 15px;
        bottom: 4%;
    }
}

@media(max-width:600px) {

    #sp-home {
        min-height: 930px;
    }

    .sp-left {
        height: 430px;
        padding: 30px 22px;
    }

    .sp-logo-main {
        font-size: 42px;
    }

    .sp-logo-name {
        font-size: 18px;
    }

    .sp-title {
        font-size: 41px;
        letter-spacing: -2px;
    }

    .sp-services {
        font-size: 11px;
    }

    .sp-features {
        gap: 7px;
    }

    .sp-feature:not(:last-child):after {
        display: none;
    }

    .sp-feature {
        flex-direction: column;
        text-align: center;
        font-size: 8px;
    }

    .sp-right {
        height: 500px;
    }

    .sp-ad {
        left: 4%;
        top: 20%;
    }

    .sp-search {
        left: 43%;
        top: 5%;
    }

    .sp-social {
        right: 5%;
        top: 25%;
    }

    .sp-website {
        left: 5%;
        top: 60%;
    }

    .sp-content {
        right: 5%;
        top: 60%;
    }

    .sp-audience {
        left: 40%;
        bottom: 9%;
    }

    .sp-dashboard {
        display: none;
    }

    .sp-bottom-text {
        right: 5%;
        bottom: 2%;
        font-size: 13px;
    }
}





    

    

        
            
                SP
            

            
                SCROLL PATROL
            

            
                DIGITAL MARKETING
            
        


        
            YOUR BRAND.
            EVERYWHERE.
        


        


        
            Digital Marketing
            •
            Branding
            •
            Social Media
            •
            Performance Marketing
        


        

            
                ◎
                Smart Strategy
            

            
                ◉
                Maximum Visibility
            

            
                ↗
                Real Growth
            

        

    


    

    

        

        

        

            
            
            
            
            
            
            
            
            
            
            

        


        

        


        

        
            📢
            ADVERTISING
        


        
            ⌕
            SEARCH
        


        
            ●
            SOCIAL MEDIA
        


        
            ▣
            WEBSITE
        


        
            ▤
            CONTENT
        


        
            ♟
            AUDIENCE
        


        

        

            
                Total Reach
            

            
                248K
            

            
                +35.6%
            

            
                
                
                
                
                
                
                
            

            
                Engagement
                128K
                +28.4%
            

        


        
            WE TURN ATTENTION
            INTO GROWTH.
        

    






(function(){

    const canvas = document.getElementById("spCanvas");

    if(!canvas) return;

    const ctx = canvas.getContext("2d");

    let width;
    let height;

    let rotation = 0;

    function resize(){

        width = canvas.width = canvas.offsetWidth * window.devicePixelRatio;
        height = canvas.height = canvas.offsetHeight * window.devicePixelRatio;

        ctx.setTransform(
            window.devicePixelRatio,
            0,
            0,
            window.devicePixelRatio,
            0,
            0
        );

        width = canvas.offsetWidth;
        height = canvas.offsetHeight;
    }

    window.addEventListener("resize", resize);

    resize();


    /* =========================
       EARTH DOTS
    ========================= */

    let earthDots = [];

    const latitudeLines = 18;
    const longitudeLines = 34;

    for(let lat=0; lat 248){
            current = 210;
        }

        number.textContent = current;

    },120);

})();