/* --- General Setup & Variables --- */
:root {
    --color-dark: #292f35;
    --color-grey-light: #f8f9fa;
    --color-text-dark: #333;
    --color-text-body: #666;
    --color-white: #fff;
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
}

/* --- Page Header (Clients Page Specific) --- */
.page-header-clients {
    height: 250px;
    background: url('images/pages/Client-Banner-1.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header-clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.page-header-clients h1 {
    font-size: 48px;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    margin-top: 10px;
    font-size: 15px;
}

/* --- Stats Section --- */
.stats-section {
    padding: 80px 0;
    background-color: var(--color-grey-light);
    /* Optional: Add the faint background texture */
    /* background-image: url('path/to/your/faint-bg-texture.png'); */
    text-align: center;
}

.stats-title p {
    font-family: var(--font-body);
    color: var(--color-text-body);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-title h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 50px;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-item {
    background-color: var(--color-white);
    padding: 30px 20px;
    flex-grow: 1;
    flex-basis: 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    border-radius: 4px;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.1;
}

.stat-item .stat-label {
    font-family: var(--font-body);
    color: var(--color-text-body);
    margin-top: 10px;
    font-size: 16px;
}

.client-industries p{
    margin: 0px 0 20px 0px;
}

/* --- Client Industries Grid (Base) --- */
.client-industries {
    padding: 80px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-item {
    background: var(--color-white);
    text-align: center;
    padding: 24px 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    border-radius: 4px;
}

.industry-icon {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.industry-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.industry-item p {
    color: var(--color-text-body);
    font-size: 15px;
}

/* --- Clients badges (logos/certificates) --- */
.clients-badges { 
    padding: 60px 0; 
    background-color: #fff;
}
.badges-grid { 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    gap: 80px; 
}
.badge-item { 
    flex: 0 1 auto; 
}
.badge-item img { 
    display: block; 
    max-height: 600px; 
    height: auto; 
    width: auto; 
    max-width: 100%;
    object-fit: contain;
}

/* =======================
   Responsive Adjustments
========================= */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .page-header-clients {
        height: 210px;
    }

    .page-header-clients h1 {
        font-size: 40px;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 10px);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .page-header-clients {
        height: 180px;
    }

    .page-header-clients h1 {
        font-size: 28px;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .clients-badges { 
        padding: 40px 0; 
    }
    .badge-item img { 
        max-height: 200px; 
    }
}