/* Language Section Styling */
.language-section {
    text-align: center;
    padding: 4rem 1rem;
}

/* Icon Grid Layout */
.language-items {
    display: grid;
    justify-content: center;
    gap: 2rem;
    grid-template-columns: repeat(12, 1fr);
}

/* Individual Item Styling */
.language-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
}

/* Icon Styling */
.language-item img {
    width: 80px;
    height: 80px;
    filter: invert(1); /* Make SVG icons white */
    transition: transform 0.3s ease-in-out;
}

.language-item img:hover {
    transform: scale(1.1); /* Slight zoom effect */
}

/* Language Text Styling */
.language-text {
    font-size: 1rem;
    color: #ffffff; /* White text */
    text-align: center;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .language-item img {
        width: 60px;
        height: 60px;
    }

    .language-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 1439px) {
    .language-items {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .language-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .language-item {
            display: inline-block;
            animation: bounce 2.5s infinite;
        }

        .bounce1 {
            animation-delay: 0s;
        }

        .bounce2 {
            animation-delay: 0.2s;
        }

        .bounce3 {
            animation-delay: 0.4s;
        }

        .bounce4 {
            animation-delay: 0.6s;
        }

        .bounce5 {
            animation-delay: 0.8s;
        }

        .bounce6 {
            animation-delay: 1.0s;
        }

        .bounce7 {
            animation-delay: 1.2s;
        }

        .bounce8 {
            animation-delay: 1.4s;
        }

        .bounce9 {
            animation-delay: 1.6s;
        }

        .bounce10 {
            animation-delay: 1.8s;
        }

        .bounce11 {
            animation-delay: 2.0s;
        }

        .bounce12 {
            animation-delay: 2.2s;
        }
