/* Default state - hide all views */
.mobile-carousel-circles,
.desktop-view-circles {
    display: none;
}

/* Desktop view (above 1564px) */
@media (min-width: 1565px) {
    .desktop-view-circles {
        display: block;
    }

    .mobile-carousel-circles {
        display: none;
    }
}

/* Mobile view (below 1564px) */
@media (max-width: 1564px) {
    .desktop-view-circles {
        display: none;
    }

    .mobile-carousel-circles {
        display: block;
    }

    /* Stats box styling */
    .stats-box-mobile {
        position: relative;
        width: 300px;
        height: 300px;
        font-size: 1.4rem;
        font-weight: 600;
        color: #fdb417;
        background: none;
        border: 2px solid #fdb417;
        border-radius: 50%;
        cursor: default;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        z-index: 10;
        flex-wrap: wrap;
        overflow: hidden;
    }

    /* Hover effects */
    .stats-box-mobile:hover {
        color: white;
        background-color: #fdb417;
    }

    .stats-box-mobile:hover p,
    .stats-box-mobile:hover span,
    .stats-box-mobile:hover i {
        color: white;
    }

    /* Icon styling */
    .icon-container {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .icon-container i {
        color: #fdb417;
        transition: color 0.3s ease;
    }

    .stats-box-mobile:hover .icon-container i {
        color: white;
    }

    /* Counter styling */
    .margin-span {
        width: 100%;
        text-align: center;
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    /* Text styling */
    .stats-box-mobile p {
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
        margin: 0;
        padding: 0 1rem;
    }

    /* Carousel item styling */
    .stats-item {
        display: flex;
        justify-content: center;
        padding: 1rem;
    }

    /* Owl Carousel customization */
    .owl-carousel.stats-carousel {
        padding: 2rem 0;
    }

    .owl-carousel.stats-carousel .owl-dots {
        margin-top: 2rem;
    }

    .owl-carousel.stats-carousel .owl-dot span {
        background: #ddd;
        transition: all 0.3s ease;
    }

    .owl-carousel.stats-carousel .owl-dot.active span {
        background: #fdb417;
        transform: scale(1.2);
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1564px) {
    .stats-box-mobile {
        width: 250px;
        height: 250px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .stats-box-mobile {
        width: 200px;
        height: 200px;
        font-size: 1.2rem;
    }

    .margin-span {
        font-size: 2.5rem;
    }

    .stats-box-mobile p {
        font-size: 1.1rem;
    }
}