@keyframes pageLoadAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes counterAnimation {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#counter-section {
    background: linear-gradient(135deg, #2e86c1, #007cb7, #258da5);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    color: white;
    animation: pageLoadAnimation 1.5s ease-out forwards;
}

.counter-box {
    text-align: center;
    flex: 1 1 200px;
    position: relative;
    align-items: center;
    opacity: 0;
    animation: counterAnimation 1s ease-in-out forwards;
    animation-delay: 1s;
}

.counter-box i {
    font-size: 48px;
    color: hwb(216 87% 0%);
    margin-bottom: 15px;
}

.counter {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.counter-box span {
    font-size: 36px;
    font-weight: bold;
    color: #00c3ff;
    margin-left: 5px;
}

.counter-box p {
    font-size: 18px;
    color: #f0f0f0;
    border-top: 3px double rgba(255, 255, 255, 0.164);
}

.counter {
    animation: counterAnimation 1s ease-in-out forwards;
}
/*=============== BREAKPOINTS ===============*/

@media (max-width: 768px) {
    #counter-section {
        flex-direction: column;
        align-items: center;
    }
    .counter-box {
        margin-bottom: 20px;
    }
    .counter-box {
        text-align: center;
        flex: 1 1 0px;
        /* position: relative; */
        align-items: center;
    }
}