/* ===== Our Clients Section ===== */
.clients {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.clients-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.clients-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 8%),
        radial-gradient(circle at 90% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 8%),
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 8%),
        radial-gradient(circle at 70% 90%, rgba(59, 130, 246, 0.05) 0%, transparent 8%);
    background-size: 60px 60px;
    opacity: 0.6;
}

.clients-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.clients-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Featured Client */
.featured-clients {
    margin-bottom: 4rem;
}

.featured-client {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-client:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.featured-client-logo {
    flex: 0 0 30%;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.featured-client:hover .featured-client-logo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.featured-client-content {
    flex: 1;
    padding: 2rem;
}

.featured-client-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--denim-blue);
}

.featured-client-content p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    position: relative;
}

.featured-client-content p::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
}

.featured-client-meta {
    display: flex;
    gap: 1.5rem;
}

.client-since, .client-category {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.client-since::before {
    content: '\f017'; /* Clock icon */
    font-family: 'Font Awesome 5 Free';
    margin-right: 0.5rem;
    color: var(--denim-light);
}

.client-category::before {
    content: '\f02b'; /* Tag icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: var(--denim-light);
}

/* Client Categories */
.client-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    color: var(--denim-light);
    background-color: rgba(59, 130, 246, 0.05);
}

.category-btn.active {
    background-color: var(--denim-light);
    color: white;
}

/* Client Logo Showcase */
.client-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.client-logo-wrapper {
    perspective: 1000px;
}

.client-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 200px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-wrapper:hover .client-card {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.client-logo-container, .client-info {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.client-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.client-logo {
    max-width: 80%;
    max-height: 80%;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}
/* 
.client-logo-wrapper:hover .client-logo {
    filter: grayscale(0%);
} */

/* .client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--denim-light), var(--denim-blue));
    color: white;
    transform: rotateY(180deg);
} */

/* .client-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.client-info p {
    font-size: 0.875rem;
    opacity: 0.8;
} */

/* Client Marquee */
.client-marquee {
    margin: 5rem 0;
    overflow: hidden;
    position: relative;
}

.client-marquee::before, .client-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.client-marquee::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.client-marquee::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-track {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
    background-color: white;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 2rem;
}

.marquee-logo {
    max-width: 160px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marquee-item:hover .marquee-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Global Presence Map */
.global-presence {
    margin-bottom: 5rem;
}

.global-presence h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--denim-blue);
}

.map-container {
    position: relative;
}

.world-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.marker-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    z-index: 2;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.map-marker:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.marker-tooltip h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--industrial-grey);
}

.marker-tooltip p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.region-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.region-stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--denim-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Testimonial Carousel */
.testimonial-carousel {
    margin-bottom: 5rem;
    position: relative;
}

.testimonial-track {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    position: relative;
    padding: 0 2rem;
}

.testimonial-quote i.fa-quote-left {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    color: var(--denim-light);
    opacity: 0.3;
}

.testimonial-quote i.fa-quote-right {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.5rem;
    color: var(--denim-light);
    opacity: 0.3;
}

.testimonial-quote p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--denim-light);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--denim-blue);
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-prev, .testimonial-next {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.testimonial-prev:hover, .testimonial-next:hover {
    color: var(--denim-light);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--cotton-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--denim-light);
    transform: scale(1.2);
}

/* Client CTA */
.client-cta {
    text-align: center;
    background: rgba(59, 130, 246, 0.05);
    color: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.client-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.client-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.client-cta .btn-primary {
    background-color: white;
    color: var(--denim-blue);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.client-cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .featured-client {
        flex-direction: column;
    }
    
    .featured-client-logo {
        width: 100%;
        padding: 2rem;
    }
    
    .region-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .client-showcase {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .client-cta {
        padding: 3rem 1.5rem;
    }
    
    .client-cta h3 {
        font-size: 1.5rem;
    }
}

/* Animation for Map Markers */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Animation for Client Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-logo-wrapper {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.client-logo-wrapper:nth-child(1) { animation-delay: 0.1s; }
.client-logo-wrapper:nth-child(2) { animation-delay: 0.2s; }
.client-logo-wrapper:nth-child(3) { animation-delay: 0.3s; }
.client-logo-wrapper:nth-child(4) { animation-delay: 0.4s; }
.client-logo-wrapper:nth-child(5) { animation-delay: 0.5s; }
.client-logo-wrapper:nth-child(6) { animation-delay: 0.6s; }
.client-logo-wrapper:nth-child(7) { animation-delay: 0.7s; }
.client-logo-wrapper:nth-child(8) { animation-delay: 0.8s; }
.client-logo-wrapper:nth-child(9) { animation-delay: 0.9s; }
.client-logo-wrapper:nth-child(10) { animation-delay: 1s; }

