.about-container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.about-content1 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 1rem; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

.stat-box1 {
    flex: 0 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box1 img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-box1:hover {
    transform: translateY(-5px);
}

/* Optional: Scrollbar styling */
.about-content1::-webkit-scrollbar {
    height: 8px;
}

.about-content1::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.about-content1::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.about-content1::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
    .stat-box1 img {
        width: 80px;
        height: 80px;
    }
    
    .about-content1 {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stat-box1 img {
        width: 70px;
        height: 70px;
    }
    
    .about-content1 {
        gap: 1rem;
    }
}