
/* Clients Section */
.clients-section {
    text-align: center;
    animation: fadeIn 1.5s ease-in-out; /* Smooth fade-in for the entire section */
}

.section-title{
    /* font-size: 4.5rem ;*/
    font-size: 40px;
    margin-bottom: 10px;
    color: #f206af;
    animation: zoomIn 1.2s ease-in-out; /* Zoom-in effect for the title */
}

.section-description {
    font-size: 1.2rem;
    margin-bottom: 70px;
    color: #aaa;
    animation: fadeInDown 1s ease-in-out; /* Fade-in-down effect for the description */
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeIn 2s ease-in-out; /* Fade-in effect for the grid */
}

.client-logo {
    background-color: #1e2a47; /* Dark blue background for logos */
    width: fit-content;
    height: fit-content;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: bounceIn 1.5s ease-in-out; /* Bounce-in animation for each logo */
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.05); /* Slight zoom and elevation on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.client-logo img {
    max-width: 100%;
    max-height: 100px; /* Adjusted for better responsiveness */
    object-fit: contain;
    display: block; /* Ensures proper alignment */
    animation: fadeIn 1.2s ease-in-out; /* Smooth fade-in for the images */
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title h1 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 3fr));
    }
}

@media (max-width: 480px) {
    .section-title h1 {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .client-logo {
        padding: 2px;
    }

    .client-logo img {
        max-height: 80px; /* Reduced for smaller screens */
    }
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

