/* Clients Page Styles - Enhanced Version */

/* Hero Section */
.clients-hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at top, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
    overflow: hidden;
}

.clients-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.clients-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
}

.stat-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.2);
}

.stat-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Premium Collaboration Design */
.collaboration-section {
    margin-top: 60px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.collaboration-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.8), rgba(0, 230, 255, 0.6));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.6);
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation: float-particle 4s ease-in-out infinite;
}

.particle-2 {
    top: 30%;
    right: 10%;
    animation: float-particle 5s ease-in-out 0.5s infinite;
}

.particle-3 {
    bottom: 25%;
    left: 10%;
    animation: float-particle 4.5s ease-in-out 1s infinite;
}

.particle-4 {
    bottom: 30%;
    right: 15%;
    animation: float-particle 5.5s ease-in-out 1.5s infinite;
}

.particle-5 {
    top: 50%;
    left: 5%;
    animation: float-particle 6s ease-in-out 2s infinite;
}

.particle-6 {
    top: 50%;
    right: 5%;
    animation: float-particle 4s ease-in-out 2.5s infinite;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translateY(-15px) scale(1.1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-25px) scale(0.9);
        opacity: 1;
    }

    75% {
        transform: translateY(-15px) scale(1.1);
        opacity: 0.8;
    }
}

/* Main Handshake Icon */
.handshake-icon {
    position: relative;
    z-index: 2;
    animation: gentle-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 40px rgba(0, 180, 216, 0.5));
}

@keyframes gentle-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Glow Orb */
.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3) 0%, rgba(0, 180, 216, 0) 70%);
    border-radius: 50%;
    animation: orb-pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes orb-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

/* Text Content */
.collaboration-content {
    text-align: center;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.collaboration-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 180, 216, 1), rgba(0, 230, 255, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.collaboration-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Client Categories */
.clients-category {
    padding: 80px 0;
    position: relative;
}

.clients-category:nth-child(even) {
    background: linear-gradient(180deg, rgba(0, 0, 10, 0) 0%, rgba(0, 0, 10, 0.4) 50%, rgba(0, 0, 10, 0) 100%);
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.category-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    display: inline-block;
    animation: float 3s ease-in-out infinite, fadeIn 1s ease forwards;
    filter: drop-shadow(0 10px 30px rgba(0, 180, 216, 0.3));
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.category-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.category-description {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.client-card {
    padding: 36px 28px;
    text-align: center;
    transition: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-width: 2px;
    opacity: 1 !important;
    animation: none !important;
}


.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-card:hover::before {
    opacity: 1;
}

.client-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 30px 80px rgba(0, 180, 216, 0.25);
}

.client-logo-wrapper {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: none !important;
    position: relative;
    overflow: hidden;
}

.client-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.1), transparent);
    transition: left 0.6s ease;
}

.client-card:hover .client-logo-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(0, 180, 216, 0.3);
    transform: scale(1.02);
}

.client-card:hover .client-logo-wrapper::after {
    left: 100%;
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.1) contrast(0.9);
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.client-card:hover .client-logo {
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.08);
}

.client-info {
    width: 100%;
    position: relative;
    z-index: 1;
}

.client-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.5;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.client-project {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.6;
    padding: 0 8px;
}

.client-project svg {
    flex-shrink: 0;
    color: var(--accent-cyan);
    margin-top: 3px;
}

.client-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(0, 180, 216, 0.08) 100%);
    border: 1.5px solid rgba(0, 180, 216, 0.3);
    border-radius: 24px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    transition: all 0.3s ease;
}

.client-card:hover .client-year {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.25) 0%, rgba(0, 180, 216, 0.15) 100%);
    border-color: rgba(0, 180, 216, 0.5);
    transform: translateY(-2px);
}

.client-year svg {
    flex-shrink: 0;
}

/* Testimonials Section */
.clients-testimonials {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 0, 10, 0) 0%, rgba(0, 0, 10, 0.4) 50%, rgba(0, 0, 10, 0) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 48px 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 30px 80px rgba(0, 180, 216, 0.2);
}

.quote-icon {
    position: absolute;
    top: 32px;
    right: 32px;
    color: var(--accent-cyan);
    opacity: 0.15;
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 24px;
    border-top: 2px solid rgba(0, 180, 216, 0.2);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTA Section */
.clients-cta {
    padding: 80px 0;
    position: relative;
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 48px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    color: var(--accent-cyan);
    background: rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
    transform: translateY(-2px);
}

.contact-item svg {
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .category-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .clients-hero {
        padding: 120px 0 60px;
    }

    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-item {
        padding: 32px 20px;
    }

    .category-icon {
        font-size: 4rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-description {
        font-size: 1.1rem;
    }

    .clients-category {
        padding: 60px 0;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .client-card {
        padding: 28px 20px;
    }

    .client-logo-wrapper {
        height: 110px;
    }

    .client-name {
        font-size: 0.95rem;
        min-height: auto;
    }

    .testimonial-card {
        padding: 36px 28px;
    }

    .cta-content {
        padding: 50px 32px;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 16px;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .clients-stats {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2.25rem;
    }

    .category-icon {
        font-size: 3.5rem;
    }

    .category-title {
        font-size: 1.75rem;
    }
}