* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f8ff; /* Lighter blue background to match logo */
    color: #333;
    background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%230095ff' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, rgba(230, 245, 255, 0.3), rgba(255, 255, 255, 0.8));
background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Logo section */
.logo-section {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
    position: relative;
}
.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0088ff; /* Matches blue from logo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #2ca243; /* Matches green from logo */
    margin-bottom: 20px;
}

/* Client grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.client-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 136, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(0, 136, 255, 0.1);
}

.client-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 136, 255, 0.2);
    border-color: rgba(44, 162, 67, 0.3);
}

.client-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: all 0.4s ease;
}

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

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0088ff, #2ca243);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.client-info {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 136, 255, 0.9), rgba(0, 136, 255, 0));
    color: white;
    transition: bottom 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
}

.client-card:hover .client-info {
    bottom: 0;
}

/* Filter options */
.filter-container {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background-color: #f0f0f0;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #0088ff, #00a1ff);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 136, 255, 0.3);
}

/* Search */
.search-container {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    border-color: #0088ff;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #0088ff;
    font-size: 1.2rem;
}

/* Loading animation */
.loader {
    border: 4px solid rgba(0, 136, 255, 0.1);
    border-top: 4px solid #0088ff;
    border-right: 4px solid #2ca243;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Statistics section */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #0088ff 0%, #00c2ff 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
}

.stat-title {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0088ff, #2ca243);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    font-size: 1.5rem;
}

/* New: Testimonials section */
.testimonials-section {
    margin: 60px 0;
    text-align: center;
}

.testimonials-title {
    font-size: 2rem;
    color: #0088ff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0088ff, #2ca243);
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.testimonials-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.testimonial-card {
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    position: relative;
    border-top: 4px solid #0088ff;
    text-align: left;
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #0088ff;
}

.testimonial-company {
    font-size: 0.9rem;
    color: #2ca243;
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    color: rgba(0, 136, 255, 0.1);
}

/* New: Scroll buttons for testimonials */
.scroll-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.scroll-btn {
    background: #0088ff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 136, 255, 0.3);
}

.scroll-btn:hover {
    background: #2ca243;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(44, 162, 67, 0.4);
}

/* New: Partner benefits section */
.benefits-section {
    margin: 60px 0;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.05) 0%, rgba(44, 162, 67, 0.05) 100%);
    padding: 40px 20px;
    border-radius: 20px;
}

.benefits-title {
    text-align: center;
    font-size: 2rem;
    color: #0088ff;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #0088ff;
}

.benefit-card:nth-child(even) {
    border-left-color: #2ca243;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #0088ff;
    margin-bottom: 15px;
}

.benefit-card:nth-child(even) .benefit-icon {
    color: #2ca243;
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.benefit-desc {
    color: #666;
    line-height: 1.6;
}

/* Media queries */
@media (max-width: 1024px) {
    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .client-card {
        height: 140px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .client-card {
        height: 120px;
    }
    
    .stat-card {
        min-width: 130px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        min-width: 250px;
    }
}