/* Customers Page Specific Styles */

/* Breadcrumb Section */
.breadcrumb {
    background: linear-gradient(135deg, rgba(0, 124, 193, 0.9), rgba(140, 182, 210, 0.9)),
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=2076&q=80');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    margin-top: 120px;
    color: white;
    text-align: center;
}

.breadcrumb-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-path {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb-path a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-path a:hover {
    color: #007cc1;
}

.breadcrumb-path i {
    font-size: 12px;
}

/* Portfolio Introduction */
.portfolio-intro {
    padding: 100px 0;
    background: white;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #007cc1;
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-box {
    background: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #007cc1;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 124, 193, 0.1);
}

.stat-box h3 {
    font-size: 42px;
    font-weight: 700;
    color: #007cc1;
    margin-bottom: 10px;
}

.stat-box p {
    color: #666;
    font-weight: 500;
    margin: 0;
    font-size: 16px;
}

/* Featured Portfolio */
.featured-portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #007cc1;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 124, 193, 0.9), rgba(140, 182, 210, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.project-details {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .project-details {
    transform: translateY(0);
}

.project-details h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-details p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.project-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

.portfolio-content {
    padding: 30px;
}

.client-logo {
    margin-bottom: 20px;
    text-align: center;
}

.client-logo img {
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
}

.portfolio-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #007cc1;
    margin-bottom: 15px;
}

.portfolio-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.project-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #666;
    font-weight: 500;
}

/* All Clients Section */
.all-clients {
    padding: 100px 0;
    background: white;
}

.clients-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #007cc1;
    background: #007cc1;
    color: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.client-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-item:hover {
    border-color: #007cc1;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.client-item img {
    width: 100%;
    max-width: 150px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%);
}

.client-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #007cc1;
    margin-bottom: 8px;
}

.client-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #007cc1;
    background: #007cc1;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.page-number:hover,
.page-number.active {
    border-color: #007cc1;
    background: #007cc1;
    color: white;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 60px;
    color: #007cc1;
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #007cc1;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Portfolio CTA */
.portfolio-cta {
    background: linear-gradient(135deg, #007cc1, #8cb6d2);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: white;
    color: #007cc1;
}

.cta-buttons .btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #007cc1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 120px 0 80px;
        margin-top: 80px;
    }
    
    .breadcrumb-content h1 {
        font-size: 32px;
    }
    
    .breadcrumb-path {
        flex-direction: column;
        gap: 10px;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-card {
        margin: 0 10px;
    }
    
    .clients-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-numbers {
        order: -1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .intro-content h2,
    .section-header h2,
    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .portfolio-stats {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .project-specs {
        font-size: 14px;
    }
    
    .portfolio-content {
        padding: 20px;
    }
    
    .portfolio-image {
        height: 200px;
    }
}

/* Loading Animation */
.client-item.loading {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInClient 0.6s ease forwards;
}

@keyframes slideInClient {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Animation */
.client-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.client-item.filtered-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ff5722;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e64a19;
}
