/* ================= CLIENTS PAGE SPECIFIC ================= */

/* ================= 1. CLIENTS LOGO GRID (WHITE CARDS ON DARK BG) ================= */

.clients-grid-section {
    position: relative;
    z-index: 10;
    padding-top: 80px;
    padding-bottom: 80px;
    /* Background is entirely removed so it inherits the global DARK Theme */
}

/* Grid Layout */
.logo-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Space between white boxes */
}

/* THE BOXES ARE WHITE */
.client-card {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    /* Solid White Card */
    border-radius: 12px;
    /* Smooth corners */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Base shadow for separation from dark bg */
}

/* Logos Styling */
.client-card img {
    max-width: 60%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    /* Default Grey so it looks uniform on white */
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */
.client-card:hover {
    transform: translateY(-8px);
    /* Thora sa aur upar uthega */

    /* Orange Shadow ki jagah Standard Black Shadow (White pe behtar lagti hai) */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Orange border wali line yahan se remove kar di hai */
}

.client-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* "Join Us" Card Special Styling */
.client-card:last-child {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.client-card:last-child span {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.2rem;
    transition: 0.3s;
}

.client-card:last-child:hover {
    background: rgba(255, 90, 31, 0.1);
    border: 1px solid var(--primary-orange);
    box-shadow: none;
    /* Join Us par shadow ki zaroorat nahi */
}

.client-card:last-child:hover span {
    transform: scale(1.1);
}


/* ================= 2. CIRCULAR STATS SECTION (NEON DARK) ================= */

.circles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.circle-item h4 {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #fff;
}

.circle-box {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 20px auto;
}

.circle-box svg {
    width: 150px;
    height: 150px;
    transform: rotate(-90deg);
    overflow: visible;
}

.circle-box circle {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 10;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-linecap: round;
}

/* The Animated Progress Circle */
.circle-box circle:nth-child(2) {
    stroke: var(--primary-orange);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    animation: fillCircle 2.5s ease-out forwards;
    filter: drop-shadow(0 0 5px var(--primary-orange));
}

@keyframes fillCircle {
    to {
        stroke-dashoffset: inherit;
    }
}

.circle-box .number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--font-heading);
}

.circle-box .number h3 {
    font-size: 2.5rem;
    display: inline-block;
}

.circle-box .number span {
    font-size: 1.2rem;
    color: var(--primary-orange);
}

/* ================= 3. RESPONSIVE FIXES ================= */

@media (max-width: 992px) {
    .logo-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .circles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .logo-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .client-card {
        height: 110px;
    }

    .circles-grid {
        grid-template-columns: 1fr;
    }
}