.p6-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.p6-carousel-container {
    overflow: hidden;
    position: relative;
}

.p6-carousel-track {
    display: flex;
    position: relative;
    min-height: 420px;
}

.p6-carousel-slide {
    display: none;
    width: 100%;
    flex-shrink: 0;
    transition: opacity 0.5s ease-in-out;
}

.p6-carousel-slide.active {
    display: block;
}

.p6-carousel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

@media(min-width: 768px) {
    .p6-carousel-card {
        flex-direction: row;
        align-items: center;
    }
}

.p6-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

@media(min-width: 768px) {
    .p6-card-image {
        width: 50%;
        height: 320px;
    }
}

.p6-card-content {
    padding: 24px;
    width: 100%;
}

@media(min-width: 768px) {
    .p6-card-content {
        width: 50%;
    }
}

.p6-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.p6-card-desc {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Controls */
.p6-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.p6-carousel-nav-btn {
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.p6-carousel-nav-btn:hover {
    transform: scale(1.05);
}

.p6-carousel-indicators {
    display: flex;
    gap: 8px;
}

.p6-active-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.p6-active-indicator.active {
    transform: scale(1.25);
}
