
.bg-body-secondary {
    background-color: #f1f5f9 !important;
}

.bg-body-tertiary {
    background-color: #e2e8f0 !important;
}

.text-body-success {
    color: #49c139 !important;
}

.bg-body {
    background-color: #ffffff !important;
}

body.dark .bg-body-secondary {
    background-color: #020617 !important;
}

body.dark .bg-body-tertiary {
    background-color: #020617 !important;
}

body.dark .bg-body {
    background-color: #020617 !important;
}

body.dark .text-body-secondary {
    color: #94a3b8 !important;
}

body.dark .card {
    color: #e5e7eb;
}

body.dark .shadow,
body.dark .shadow-sm {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

section,
.card {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.clients-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.client-box {
    background: #ffffff;
    border-radius: 16px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.client-box img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Dark Mode Overrides */
body.dark .clients-section {
    background-color: #020617; /* Very dark, matching header/footer */
}

body.dark .clients-section h2 {
    color: #f1f5f9;
}

body.dark .clients-section .text-muted {
    color: #cbd5e1 !important;
}

body.dark .client-box {
    background-color: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

body.dark .client-box img {
    /* In dark mode, make logos lighter so they are visible */
    filter: grayscale(100%) brightness(200%);
    opacity: 0.6;
}

body.dark .client-box:hover img {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}
