/* Clients & Partners Page - Green & Gold Theme */
.clients-showcase {
    padding: 80px 0;
    background-color: white;
}

.clients-showcase h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary); /* Deep green */
    position: relative;
}

.clients-showcase h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary); /* Gold accent */
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: var(--text-light); /* Soft green text */
    line-height: 1.6;
}

.client-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(42, 92, 61, 0.1), 
                0 2px 4px -1px rgba(42, 92, 61, 0.06);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary); /* Gold accent */
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(42, 92, 61, 0.15), 
                0 10px 10px -5px rgba(42, 92, 61, 0.08);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--secondary); /* Gold */
}

.category-card h3 {
    margin-bottom: 15px;
    color: var(--primary); /* Deep green */
    font-size: 22px;
}

.category-card p {
    color: var(--text); /* Dark green text */
    font-size: 16px;
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--light); /* Light green background */
}

.partners-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary); /* Deep green */
    position: relative;
}

.partners-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary); /* Gold accent */
}

.partners-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: var(--text-light); /* Soft green text */
    line-height: 1.6;
}

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

.partner-logo {
    background-color: white;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(42, 92, 61, 0.1), 
                0 2px 4px -1px rgba(42, 92, 61, 0.06);
    transition: all 0.3s ease;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15); /* Gold border */
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(42, 92, 61, 0.15), 
                0 4px 6px -2px rgba(42, 92, 61, 0.1);
    border-color: var(--secondary); /* Gold on hover */
}

.logo-placeholder {
    color: var(--text-light); /* Soft green text */
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.partner-cta {
    text-align: center;
    margin-top: 30px;
}

.partner-cta p {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--primary); /* Deep green */
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary); /* Deep green */
    position: relative;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary); /* Gold accent */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(42, 92, 61, 0.1), 
                0 2px 4px -1px rgba(42, 92, 61, 0.06);
    position: relative;
    border-left: 4px solid var(--secondary); /* Gold accent */
}

.testimonial-content {
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
    color: var(--dark); /* Dark green text */
    font-size: 18px;
    line-height: 1.6;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 50px;
    color: var(--secondary); /* Gold */
    line-height: 1;
    font-family: Georgia, serif;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--light); /* Light green background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary); /* Gold */
    margin-right: 20px;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary); /* Deep green */
    font-size: 18px;
}

.author-info p {
    color: var(--text-light); /* Soft green text */
    font-size: 16px;
}

/* Responsive Styles for Clients Page */
@media (max-width: 1200px) {
    .client-categories,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .clients-showcase h2,
    .partners-section h2,
    .testimonials-section h2 {
        font-size: 30px;
    }
    
    .section-intro,
    .partners-section p {
        font-size: 16px;
    }
    
    .partner-cta p {
        font-size: 18px;
    }
    
    .testimonial-content {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .clients-showcase,
    .partners-section,
    .testimonials-section {
        padding: 60px 0;
    }
    
    .client-categories,
    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .category-card,
    .partner-logo {
        padding: 30px 20px;
    }
    
    .clients-showcase h2,
    .partners-section h2,
    .testimonials-section h2 {
        font-size: 28px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Animation for Clients Page Elements */
.client-categories,
.partners-grid,
.testimonials-grid {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.client-categories.animated,
.partners-grid.animated,
.testimonials-grid.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for grid items */
.category-card:nth-child(1) { transition-delay: 0.1s; }
.category-card:nth-child(2) { transition-delay: 0.2s; }
.category-card:nth-child(3) { transition-delay: 0.3s; }
.category-card:nth-child(4) { transition-delay: 0.4s; }

.partner-logo:nth-child(1) { transition-delay: 0.1s; }
.partner-logo:nth-child(2) { transition-delay: 0.2s; }
.partner-logo:nth-child(3) { transition-delay: 0.3s; }
.partner-logo:nth-child(4) { transition-delay: 0.4s; }

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