/* Inherit variables from main style, but override for this page's specific look */
:root {
    --page-bg: #0d1117;
    --card-surface: #1e2530;
    --text-primary: #ffffff;
    --text-blue: #3b82f6;
    --border-color: #30363d;
}

body {
    background-color: var(--page-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Sections */
section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, #050810, #131a29);
    padding: 80px 20px 40px;
    text-align: center;
    border-bottom: 2px solid #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

/* Clients Section */
.clients-section {
    background-color: #0d1117;
    text-align: center;
    flex: 1;
    /* Takes available space */
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0;
    font-weight: 700;
    color: #0f1623;
    /* Dark shadow text per screenshot 'Clients' */
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 2rem;
    margin-top: -30px;
    /* Overlap effect */
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: #fff;
}


.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 cols per screenshot */
    gap: 20px;
}

.client-card {
    background-color: #161b22;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: transform 0.2s;
}

.client-card:hover {
    transform: translateY(-2px);
    border-color: #fff;
}

.client-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    /* Screenshot shows full rectangular images inside cards */
    border-radius: 4px;
    margin-bottom: 10px;
}

.client-name {
    font-size: 0.75rem;
    color: #ccc;
    text-align: center;
    word-break: break-word;
}

.more-clients-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--text-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #666;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}