.carousel-spacer {
    flex: 0 0 calc(50% - 160px); 
    scroll-snap-align: none;
}
@media (max-width: 600px) {
    .carousel-spacer {
        flex: 0 0 20px;
    }
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
}


.home-guides-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
}

.home-guides-slider::-webkit-scrollbar {
    display: none;
}


.home-card {
    flex: 0 0 300px !important;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center; 
     animation: home-card-focus linear both;
    animation-timeline: view(inline);
}
@keyframes home-card-focus {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
        filter: blur(2px);
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: blur(0);
    }
}
.home-card:hover {
    transform: scale(1.05);
}

.home-card .card-icon {
    font-size: 30px;
    margin-bottom: 5px;
}

.home-card h3 {
        margin: 10px 0;
    font-size: 1.2rem;
}

.home-card p {
     font-size: 0.9rem;
    line-height: 1.3;
}


.home-nav-btn {
    background: #ffb52d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
    padding: 0;
}
@media (max-width: 600px) {
.home-nav-btn {
  display: none;
}
.home-card {
    flex: 0 0 60% !important;
    min-width:60%;
}
.home-guides-slider {
  gap: 1px;
}
}