/* Quick Menu Circle Icons */
.quick-menu-section {
    padding: 20px 0px 80px 0px;
    /* background: #fff; */
}

.quick-menu-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.quick-menu-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 0 0 110px; /* Base width to fit icon + padding */
    scroll-snap-align: start;
}

.quick-menu-item:hover {
    transform: translateY(-8px);
}

.quick-menu-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    background-size: stretch;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.quick-menu-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 114, 0, 0) 0%, rgba(255, 114, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-menu-item:hover .quick-menu-icon {
    box-shadow: 0 8px 25px rgba(255, 114, 0, 0.3);
    transform: scale(1.05);
    border-color: #ff7200;
}

.quick-menu-item:hover .quick-menu-icon::before {
    opacity: 1;
}

.quick-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: stretch;
    border-radius: 50%;
}

.quick-menu-icon img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    position: relative;
    /* filter: brightness(0) invert(1); */
    transition: all 0.3s ease;
}

.quick-menu-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    transition: color 0.3s ease;
}

.quick-menu-item:hover .quick-menu-label {
    color: #ff7200;
}

/* Alternative Styling Options */
.quick-menu-item.style-outline .quick-menu-icon {
    background: #fff;
    border: 3px solid #ff7200;
}

.quick-menu-item.style-outline .quick-menu-icon i {
    color: #ff7200;
}

.quick-menu-item.style-outline .quick-menu-icon img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(89%) saturate(2476%) hue-rotate(2deg) brightness(102%) contrast(106%);
}

.quick-menu-item.style-outline:hover .quick-menu-icon {
    background: #ff7200;
    border-color: #ff7200;
}

.quick-menu-item.style-outline:hover .quick-menu-icon i {
    color: #fff;
}

.quick-menu-item.style-outline:hover .quick-menu-icon img {
    filter: brightness(0) invert(1);
}

@media screen and (min-width: 1025px) {
    .quick-menu-container {
        justify-content: center;
        gap: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .quick-menu-container {
        gap: 20px;
    }
    
    .quick-menu-icon {
        width: 90px;
        height: 90px;
        border-width: 2px;
    }
    
    .quick-menu-icon img {
        width: 100%;
        height: 100%;
    }
    
    .quick-menu-label {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .quick-menu-section {
        padding: 40px 0;
    }
    
    .quick-menu-container {
        gap: 20px;
        padding: 0 15px;
    }
    
    .quick-menu-icon {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }
    
    .quick-menu-icon img {
        width: 100%;
        height: 100%;
    }
    
    .quick-menu-label {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .quick-menu-section {
        padding: 30px 0;
    }
    
    .quick-menu-container {
        gap: 10px;
        padding: 10px 15px;
    }
    
    .quick-menu-item {
        flex: 0 0 calc(33.333% - 10px); /* Exactly 3 items visible */
        min-width: 80px;
    }
    
    .quick-menu-icon {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    .quick-menu-icon img {
        width: 100%;
        height: 100%;
    }
    
    .quick-menu-label {
        font-size: 12px;
    }
}

/* Animation on scroll */
.quick-menu-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.quick-menu-item:nth-child(1) { animation-delay: 0.1s; }
.quick-menu-item:nth-child(2) { animation-delay: 0.2s; }
.quick-menu-item:nth-child(3) { animation-delay: 0.3s; }
.quick-menu-item:nth-child(4) { animation-delay: 0.4s; }
.quick-menu-item:nth-child(5) { animation-delay: 0.5s; }
.quick-menu-item:nth-child(6) { animation-delay: 0.6s; }
.quick-menu-item:nth-child(7) { animation-delay: 0.7s; }
.quick-menu-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
