/* ========================================
   OMCG Clients Page Styles
   Matching Linoor Home Style 07
   ======================================== */

/* Page Hero */
.clients-page .page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a2d5a 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.clients-page .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
    background-size: 200px 200px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-50px) rotate(360deg); }
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 8px;
}

/* Logo Wall Section */
.logo-wall {
    background: white;
}

.logo-wall .section-tag span {
    color: var(--primary);
}

.logo-wall .section-title {
    color: var(--primary);
}

.logo-wall .section-subtitle {
    color: #6c757d;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.logo-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(198, 161, 75, 0.2);
}

.logo-item:hover::before {
    transform: scaleX(1);
}

.logo-item img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.logo-fallback i {
    font-size: 2rem;
    color: #0d1b3e;
    opacity: 0.6;
}

.logo-fallback span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0d1b3e;
    line-height: 1.3;
}

.logo-item:hover .logo-fallback i {
    color: var(--accent);
    opacity: 1;
}

/* Category Tabs */
.client-categories {
    padding: 40px 0;
    background: #f8f9fa;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-tab {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-tab i {
    font-size: 16px;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Full Client List */
.full-client-list {
    background: white;
}

.full-client-list .section-header {
    margin-bottom: 40px;
}

.full-client-list .section-title {
    color: #0d1b3e;
}

.full-client-list .section-subtitle {
    color: #6c757d;
}

.client-category-block {
    margin-bottom: 60px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
}

.client-category-block[data-category="healthcare"] {
    border-left-color: #10b981;
}

.client-category-block[data-category="oil-gas"] {
    border-left-color: #f59e0b;
}

.client-category-block[data-category="corporate"] {
    border-left-color: #6366f1;
}

.client-category-block[data-category="banking"] {
    border-left-color: #3b82f6;
}

.client-category-block[data-category="ngo"] {
    border-left-color: #ec4899;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.client-category-block[data-category="healthcare"] .category-icon {
    background: #10b981;
}

.client-category-block[data-category="oil-gas"] .category-icon {
    background: #f59e0b;
}

.client-category-block[data-category="corporate"] .category-icon {
    background: #6366f1;
}

.client-category-block[data-category="banking"] .category-icon {
    background: #3b82f6;
}

.client-category-block[data-category="ngo"] .category-icon {
    background: #ec4899;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0;
}

.client-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.client-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.client-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.client-list-item i {
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
}

.client-list-item span {
    font-size: 0.95rem;
    color: #0d1b3e;
    font-weight: 500;
}

.client-list-item.featured {
    background: linear-gradient(135deg, #fff9e6 0%, #fffdf7 100%);
    border-color: var(--accent);
}

.client-list-item.featured i {
    color: var(--accent);
}

.client-list-item.featured span {
    font-weight: 600;
}

/* Commitment Section */
.commitment-section {
    text-align: center;
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
}

.commitment-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.commitment-icon i {
    font-size: 2.5rem;
    color: var(--accent);
}

.commitment-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.commitment-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.commitment-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.commitment-stat {
    text-align: center;
}

.commitment-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.commitment-stat .stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.commitment-stat .stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #0d1b3e;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: #6c757d;
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hidden state for filtering */
.client-category-block.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .logo-item {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .client-category-block {
        padding: 30px 20px;
    }
    
    .client-list-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .clients-page .page-hero {
        padding: 140px 0 80px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .category-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-header h3 {
        font-size: 1.25rem;
    }
    
    .commitment-stats {
        gap: 30px;
    }
    
    .commitment-stat .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .logo-item {
        padding: 15px 10px;
        min-height: 80px;
    }
    
    .logo-fallback span {
        font-size: 0.75rem;
    }
    
    .client-category-block {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .client-list-item {
        padding: 12px 16px;
    }
    
    .client-list-item span {
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .page-hero {
        background: var(--primary) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .category-tabs,
    .cta-section {
        display: none;
    }
    
    .client-category-block {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
