:root {
    --logo-color: #f27b00;
    --primary-color: #a8cf45;
    --primary-color-dark: #0e844d;
    --text-dark: #333333;
    --white: #ffffff;
    --button: #0b3d26;

}

.icon-section {
    position: relative;
    background-color: var(--white);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: moveBackground 5s infinite alternate ease-in-out;
}

/* Overlay */
.icon-section-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icon Container */
.icon-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    width: 100%;
    margin: 10px;
}

/* Icon Card */
.icon-card {
    text-align: center;
    flex: 1 1 calc(25% - 20px);
    transition: transform 0.3s ease;
    margin-top: 25px;
}

.icon-card:hover {
    transform: translateY(-10px);
}

/* Icon Image */
.icon-image {
    width: 100px;
    height: 100px;
    /* animation: floatUpDown 3s ease-in-out infinite; */
    animation: bounce 2s infinite;
    mix-blend-mode: multiply;
}

/* Text Styling */
.icon-card h3 {
    font-size: 15px;
    color: var(--logo-color);
}

/* Animation for infinite up and down motion */
/* @keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
} */

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}


/* Background Animation */
@keyframes moveBackground {
    0% {
        background-position-y: 0;
    }

    100% {
        background-position-y: 20px;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .icon-card {
        flex: 1 1 calc(50% - 20px);
    }

}
@media (max-width: 768px) {
    .icon-card {
        flex: 1 1 calc(33% - 30px);
    }
}

@media (max-width: 480px) {
    .icon-card {
        flex: 1 1 calc(100% - 20px);
    }

    .icon-container {
        display: grid;
        grid-template-columns: 1fr 1fr;

    }
}