/* public/assets/css/clients.css */

:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --text-muted: #9ca3af;
    --border-dark: #333333;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.clients-hero {
    position: relative;
    padding: 160px 20px 80px;
    background: var(--bg-black);
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-white);
}

.hero-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* --- CLIENTS GRID SECTION --- */
.clients-section {
    padding: 80px 20px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clients-grid {
    display: grid;
    /* Responsive Grid: Auto-fill minimum 160px width */
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo-box {
    background: #ffffff; /* White background so dark logos are visible */
    border-radius: 8px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    opacity: 0.9;
}

.client-logo-box:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1); /* White Glow */
    z-index: 2;
}

.client-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%); /* B&W by default */
    transition: all 0.3s ease;
}

.client-logo-box:hover img {
    filter: grayscale(0%); /* Color on hover */
}

/* --- CTA SECTION --- */
.cta-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-black);
    color: var(--text-white);
    overflow: hidden;
    border-top: 1px solid var(--border-dark);
}

.cta-btn {
    display: inline-block;
    background: white;
    color: black;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 30px;
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* --- FOOTER FIX --- */
.aivanta-footer {
    background-color: #000000 !important;
}
