/* Page specific styles for Index */

.carousel-container {
    position: relative;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.carousel {
    display: flex;
    height: 200px;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.carousel img.active {
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
    .carousel {
        height: 160px;
    }
}

