body.service-page-body{
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 12%);
    overflow-x: hidden;
}



.team-facts-section {
    position: relative;
    width: 100%;
}



/* =========================================
   Image Container & Exact Cutouts
   ========================================= */
.image-wrapper {
    position: relative;
                                                    
    width: 100%;
    height: auto;
    border-radius: 30px; /* Base rounded corners */
    overflow: hidden;
}

.main-image {
  
    /* object-fit: cover;
    object-position: center 30%; */
}

/* Fake inverted corners by overlapping white boxes with inner radii */
.corner-cutout {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #ffffff; /* Must match body background */
    z-index: 2;
}

.cutout-top-right {
    top: -1px; /* -1px prevents rendering artifacts/gaps */
    right: -1px;
    border-bottom-left-radius: 35px;
}

.cutout-bottom-left {
    bottom: -1px;
    left: -1px;
    border-top-right-radius: 35px;
}

/* =========================================
   Quick Facts Overlay Card
   ========================================= */
.stats-overlay {
    position: absolute;
    bottom: -80px; /* slightly more */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 10;
}
/* The top "Tab" bump shape */
.stats-tab {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 25px;
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
}

/* Inner Grid */
.stats-grid {
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
}

.stat-item {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

/* Precise borders to create the crosshair grid exactly like the image */
.cell-1 { border-right: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.cell-2 { border-bottom: 1px solid #f1f5f9; }
.cell-3 { border-right: 1px solid #f1f5f9; }

/* Typography */
.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b1536; /* Deep navy */
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
    margin: 0;
}

/* =========================================
   Custom Blue Icon (Bottom Right Cell)
   ========================================= */
.custom-brand-icon {
    position: relative;
    width: 50px;
    height: 50px;
}

.icon-circle-main {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 32px;
    height: 32px;
    background-color: #0d6efd; /* Primary Blue */
    border-radius: 50%;
    z-index: 2;
}

.icon-circle-offset {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 3px solid #0d6efd;
    border-radius: 50%;
    z-index: 1;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 991px) {
    .image-wrapper { height: 400px; }
}

@media (max-width: 767px) {
    .image-wrapper { height: 300px; border-radius: 20px; }
    .corner-cutout { width: 35px; height: 35px; }
    .cutout-top-right { border-bottom-left-radius: 25px; }
    .cutout-bottom-left { border-top-right-radius: 25px; }
    
    /* .stats-overlay { bottom: -70px; max-width: 320px; }
    .stat-item { padding: 25px 15px; }
    .stat-value { font-size: 1.8rem; }
    .stat-label { font-size: 0.75rem; } */
}

@media(max-width: 767px){
    .image-wrapper.main-image {
        position: relative;
        left: 0px;
    }


       /* ===== FIX: MOBILE STACK STATS ===== */
    .stats-grid {
        grid-template-columns: 1fr; /* CHANGE TO 1 COLUMN */
    }

    .cell-1,
    .cell-2,
    .cell-3 {
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
    }

    .cell-4 {
        border: none;
    }

    .stat-item {
        text-align: center;
        padding: 25px 10px;
    }

    .cell-4 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 30px 0;
    }


}


      .social-proof-section {
            background-color: #ffffff;
            padding: 40px 20px;
            width: 100%;
        }

        .content-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 40px;
        }

        /* =========================================
           Trustpilot Block Styles
           ========================================= */
        .trust-block {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0; /* Prevents Trustpilot block from shrinking */
            z-index: 10;
            background: #ffffff; /* Ensures scrolling logos slide behind it cleanly on smaller screens */
        }

        /* Overlapping Avatars */
        .avatar-group {
            display: flex;
        }

        .avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid #ffffff;
            object-fit: cover;
            margin-left: -16px;
            background-color: #e9ecef;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            position: relative;
        }

        .avatar:first-child { margin-left: 0; z-index: 4; }
        .avatar:nth-child(2) { z-index: 3; }
        .avatar:nth-child(3) { z-index: 2; }
        .avatar:nth-child(4) { z-index: 1; }

        .trustpilot-brand {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .trustpilot-text {
            font-size: 1.15rem;
            font-weight: 700;
            color: #000032;
            line-height: 1;
        }

        .trustpilot-stars {
            color: #ff3722;
            font-size: 1.35rem;
            line-height: 1;
            letter-spacing: 2px;
            margin-top: 4px;
        }

        /* =========================================
           Animated Logos Block (Marquee)
           ========================================= */
        .logos-carousel {
            flex-grow: 1;
            overflow: hidden;
            /* Optional: Creates a fade-out effect on the left and right edges */
            -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
            mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        }

        .logos-track {
            display: flex;
            width: max-content;
            /* 20s controls the speed. Change to 15s for faster, 30s for slower */
            animation: scroll-left 20s linear infinite; 
        }

        /* Pause animation when user hovers over the logos */
        .logos-carousel:hover .logos-track {
            animation-play-state: paused;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 50px; /* Space between individual logos */
            padding-right: 50px; /* Crucial: Matches gap so the loop is perfectly seamless */
        }

        .company-logo svg {
            height: 32px;
            width: auto;
            fill: #1a1a1a;
            display: block;
        }

        /* The Animation Keyframes */
        @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }
            100% {
                /* Shifts exactly half the width of the track (one full logo group) */
                transform: translateX(-50%); 
            }
        }

        /* =========================================
           Responsive Breakpoints
           ========================================= */
        @media (max-width: 991px) {
            .content-wrapper {
                flex-direction: column;
                gap: 30px;
            }
            
            .logos-carousel {
                width: 100%; /* Take full width on mobile/tablet */
                -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
                mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            }
        }

        @media (max-width: 768px) {
            .social-proof-section {
                padding: 30px 15px;
            }
            .trust-block {
                flex-direction: column;
                text-align: center;
                gap: 12px;
            }
            .avatar-group {
                justify-content: center;
            }
            .company-logo svg {
                height: 28px;
            }
            .logo-group {
                gap: 40px;
                padding-right: 40px;
            }
        }