/* Carousel Pagination Mode - Card carousel with slide navigation */

.carousel-section {
    padding: 4rem 0;
    overflow: hidden;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Carousel Header */
.carousel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.carousel-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.carousel-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--bg-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1);
}

/* Carousel Track Container */
.carousel-track-container {
    overflow: hidden;
    position: relative;
    padding: 10px 0; /* Prevent border cut-off on hover */
    margin: -10px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Carousel Cards */
.carousel-card {
    min-width: calc(33.333% - 14px);
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Card Icon */
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Card Content */
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.card-list li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-list li:last-child {
    margin-bottom: 0;
}

.card-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -0.1em;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .carousel-card {
        min-width: calc(50% - 10px);
    }
    
    .carousel-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-card {
        min-width: 100%;
    }
    
    .carousel-title {
        font-size: 1.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 35px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-container {
        padding: 0 10px;
    }
    
    .carousel-card {
        padding: 1.5rem;
    }
}

